movefile
movefile(newinvname, invname);
movefile(newinvpost, invpost);
movefile(newreffile, reffile);
static void movefile(char *new, char *old);