change the text in the file