if(!file) {
g_free(gstr_file);
g_free(gstr_oldfile);
#ifdef HAVE_LIBREADLINE
g_free(historyfile);
#endif
first_time = true;
set_saved_mode();
return;