code: def load(self, filename=None, ignore_discard=False, ignore_expires=False):
          
          if filename is None:
              if self.filename is not None: filename = self.filename
              else: raise ValueError(MISSING_FILENAME_TEXT)
  
          f = open(filename)
          try:
              self._really_load(f, filename, ignore_discard, ignore_expires)
          finally:
              f.close()
docs: Load cookies from a file.