Show error dialog box instead of letting the user access the UI if file is corrupted.