pub fn hash_file(path: &Path) -> Result<String, Error>
Computes the SHA256 hash of a file and returns it as a hex string