Edit test.txt file