Fix for corrupt file.