code: def __init__(self, filename=None):
      self.filename = filename
      try:
          if filename is None:
              raise IOError("bad filename")  # just goes to except
          with open(filename, "r") as f:
              self.cache = pickle.load(f)
      except IOError:
          self.cache = {}
  
file_path: Theano/theano/gof/callcache.py
imports: from __future__ import absolute_import, print_function, division
  import logging
  import six.moves.cPickle
label_desc: Use image node_id 1 to create a new CallCache object from inherited base classes: object with example: obj = CallCache(filename)