I have created a txt file which I have saved in My Documents on my computer. ... One random guess is that you may be having multiple instance of your test ...
stackoverflow.com