Making chenges in text files