File integrity can be compromised, usually referred to as the file becoming corrupted.
Hash-based verification ensures that a file has not been corrupted by comparing the file's hash value to a previously calculated value.