Fixed undefined: readFile