cleaning file loading