I need to check in Bash file is empty,
if it's empty keep tracking him until something is written to it.
In case something was written to it echo it to the screen and stop checking the file content.
for [ -s diff.txt ]; do
echo "file is empty - keep checking it "
done
echo "file is not empty "
cat diff.txt