delete bad files.