modify text of test.txt file