code: def get_output(self):
          
          logger.info("Getting outputs.")
          # Get the set of prefixes (each will correspond to three json files.)
          json_files = glob.glob(path.join(self.output_dir, '*.json'))
          json_prefixes = set()
          for json_file in json_files:
              # Remove .uaz.<subfile type>.json
              prefix = '.'.join(path.basename(json_file).split('.')[:-3])
              json_prefixes.add(path.join(self.output_dir, prefix))
  
          # Join each set of json files and store the json dict.
          for prefix in json_prefixes:
              base_prefix = path.basename(prefix)
              if base_prefix.isdecimal():
                  base_prefix = int(base_prefix)
              elif base_prefix in self.id_maps.keys():
                  base_prefix = self.id_maps[base_prefix]
              try:
                  content = self._join_json_files(prefix, clear=True)
              except Exception as e:
                  logger.exception(e)
                  logger.error("Could not load result for prefix %s." % prefix)
                  content = None
              self.add_result(base_prefix, content)
              logger.debug('Joined files for prefix %s.' % base_prefix)
          return self.results
docs: Get the output of a reading job as a list of filenames.