added debug flag to file.cpp