parameters: (filename)
docstring: Return hash of raw file contents
docstring_summary: Return hash of raw file contents
docstring_tokens: Return hash of raw file contents
function: def file_hash(filename):
      '''Return hash of raw file contents'''
      with open(filename, 'rb') as f:
          return hashlib.sha256(f.read()).hexdigest()
function_tokens: def file_hash ( filename ) : with open ( filename , 'rb' ) as f : return hashlib . sha256 ( f . read ( ) ) . hexdigest ( )