Here's one of many possible solutions:
Just query the file with "File/Directory info", then check if the "last mod" output is different from the previous iteration (obtained via shift register). If this is true, read the file again into the indicator.
If the file always grows, you could also check the size with a similar procedure.
Checking the
file info is much cheaper that constantly reading the file, then analyzing it's content.