delete a word from a text file