remove file_functs.cpp little bugs