basic file cleanup