Is this on a unix system?
If so, you needn't worry about the file being updated while you read it - Unix/Linux doesn't work like that.
Once you start reading a file (under *nix) it doesn't change for the process reading it, even if another user changes it in the background.
It's almost like there are TWO copies of the file - one that's being read, and another being written to.
So this is simply not a worry. On a Windows system, well, I can't say. =(
Good luck!
-Ben
PS: No, not free, but I can do everything else. Alas, I begin hosting at $20/month, or about 65 cents per day 😉