make some changes to txt file