code: def __process_summaries(self, process_func):
          
          temp_dir = mkdtemp()
          new_system_dir = os.path.join(temp_dir, "system")
          os.mkdir(new_system_dir)
          new_model_dir = os.path.join(temp_dir, "model")
          os.mkdir(new_model_dir)
          self.log.info(
              "Processing summaries. Saving system files to {} and "
              "model files to {}.".format(new_system_dir, new_model_dir))
          process_func(self._system_dir, new_system_dir)
          process_func(self._model_dir, new_model_dir)
          self._system_dir = new_system_dir
          self._model_dir = new_model_dir
docs: Helper method that applies process_func to the files in the
          system and model folders and saves the resulting files to new
          system and model folders.