code: @Bean
    public JobFactory<FileIngestJobExecution> fileIngestJobFactory() {
      return new JobFactory<FileIngestJobExecution>() {
        @Override
        public Job createJob(FileIngestJobExecution fileIngestJobExecution) {
          final String targetEntityId = fileIngestJobExecution.getTargetEntityId();
          final String url = fileIngestJobExecution.getUrl();
          final String loader = fileIngestJobExecution.getLoader();
          String dataExplorerURL = menuReaderService.findMenuItemPath("dataexplorer");
          fileIngestJobExecution.setResultUrl(
              format("{0}?entity={1}", dataExplorerURL, targetEntityId));
          return progress ->
              fileIngester.ingest(
                  targetEntityId, url, loader, fileIngestJobExecution.getIdentifier(), progress);
        }
      };
    }
docs: The FileIngestJob Factory bean.