set isFileCorrupted back to false after the warning is shown