void change_dir(const char* path, ofstream& file, bool print) { char cwd[256]; if((string)path == "") { if(print) file<