Fixed a few warning on clang. file reading stub