added readFile and test.txt