in reply to Is it always necessary to lock a text file?

If you are only reading a file, you do not need to lock it. Locks are only important when writing to the file is involved.
  • Comment on Re: Is it always necessary to lock a text file?