remove bad files