correct readFile
change in buf declaration