Fixed mistake
changed to synchronous readfile.