Modify test.txt file