sets up rm_mod_files func frame
starts to loop over mod file if there
flushes out the removal of the folders
sets up rm_mod
requires the mod to be there