code: def load_hashes(filename):
      """Load the hashes dict from the hashfile"""
      # { filename : (sha1 of header if available or 'NA',
      #               sha1 of input,
      #               sha1 of output) }
  
      hashes = {}
      try:
          with open(filename, "r") as cython_hash_file:
              for hash_record in cython_hash_file:
                  (
                      filename,
                      header_hash,
                      cython_hash,
                      gen_file_hash,
                  ) = hash_record.split()
                  hashes[filename] = (
                      header_hash,
                      cython_hash,
                      gen_file_hash,
                  )
      except (KeyError, ValueError, AttributeError, IOError):
          hashes = {}
      return hashes
  
file_path: pyflux/tools/cythonize.py
imports: from __future__ import division, print_function, absolute_import
  import os
  import re
  import sys
  import hashlib
  import subprocess
label_desc: Use image node_id 2 for calling a global function with example usage: load_hashes(filename) and returns: hashes