proper removal of some files