Fix corrupted files.