code: def load(self, name=None):
          
          import pickle
          name = name if name else self.name
          s = pickle.load(open(name + '.pkl', 'rb'))
          self.res = s.res  # disregard the class
          return self
docs: load from file