Fixed typo in readFile method.