code: def do_load(self, arg):
          
          from os import path
          import json
          fullpath = path.expanduser(arg)
          if path.isfile(fullpath):
              with open(fullpath) as f:
                  data = json.load(f)
  
              #Now, reparse the staging directories that were present in the saved session.
              for stagepath in data["tests"]:
                  self.do_parse(stagepath)
              self.args = data["args"]
docs: Loads a saved session variables, settings and test results to the shell.