deleting bad files