Do I have to write in the same file while I'm reading it?