code: def _restoreResults(newdir,origdir):
      
      for fname in glob.glob(os.path.join(newdir,'*')):
          shutil.move(fname,os.path.join(origdir,os.path.basename(fname)))
docs: Move (not copy) all files from newdir back to the original directory