Update2 file.cpp (print function really does work!)