edited for test.txt