Changed the name of function to readFile()