Reform file.cc
Fix a thread bug