getting rid of file detritus