changed the contents of the text file