code: def store(self):
          
          with open(self.filename, "wb") as f:
              pickle.dump(self, f)
docs: Save the attributes of the EgStore object to a pickle file.
          Note that if the directory for the pickle file does not already exist,
          the store operation will fail.