readFile function in Parser