taking out corrupted files