pub fn sha256sum<P: AsRef<Path>>(file: P) -> Result<String, Error>
Returns error if failed to open file or read its content.