code: def do_parse(infilename: str, outfilename: str, verbose: bool) -> bool:
      
      python = parse(FileStream(infilename, encoding="utf-8"), infilename)
      if python is not None:
          with open(outfilename, 'w') as outfile:
              outfile.write(python)
          if verbose:
              print("Output written to {}".format(outfilename))
          return True
      return False
docs: Parse the jsg in infilename and save the results in outfilename
      :param infilename: file containing jsg
      :param outfilename: target python file
      :param verbose: verbose output flag
      :return: true if success