control file cleanup