code: public static Properties loadGenericJobConfig(Properties sysProps, Path jobConfigPath, Path jobConfigPathDir)
        throws ConfigurationException, IOException {
  
      PullFileLoader loader = new PullFileLoader(jobConfigPathDir, jobConfigPathDir.getFileSystem(new Configuration()),
          getJobConfigurationFileExtensions(sysProps), PullFileLoader.DEFAULT_HOCON_PULL_FILE_EXTENSIONS);
  
      Config sysConfig = ConfigUtils.propertiesToConfig(sysProps);
      Config config = loader.loadPullFile(jobConfigPath, sysConfig, true);
      return resolveTemplate(ConfigUtils.configToProperties(config));
    }
docs: Load a given job configuration file from a general file system.
  
  @param sysProps Gobblin framework configuration properties
  @param jobConfigPath job configuration file to be loaded
  @param jobConfigPathDir root job configuration file directory
  @return a job configuration in the form of {@link java.util.Properties}