code: def load(file, enforce_filetype=True):
      """Utility exception handler for loading file"""
      s, lim = get_ivals()
      if enforce_filetype:
          file = pickled(file)
      try:
          return pickle_load(file)
      except (EOFError, OSError, IOError) as exc:
          msg = str(exc)
          warnings.warn(
              "Could not load transformer at %s. Will check every %.1f seconds "
              "for %i seconds before aborting. " % (file, s, lim),
              ParallelProcessingWarning,
          )
  
          ts = time()
          while not os.path.exists(file):
              sleep(s)
              if time() - ts > lim:
                  raise ParallelProcessingError(
                      "Could not load transformer at %s\nDetails:\n%r"
                      % (dir, msg)
                  )
  
          return pickle_load(file)
  
imports: from __future__ import division, print_function, with_statement
  import os
  import sys
  import warnings
  import subprocess
  from numpy import array
  from ..config import get_ivals
  from .exceptions import ParallelProcessingError, ParallelProcessingWarning
  from time import sleep
label_desc: Use image node_id 4 for calling a global function with example usage: load(file, enforce_filetype) and returns: pickle_load, pickle_load