Add error message for corrupted file.