corrupted file management