modify file.cpp