Cleanup & control file update