code: public Config loadPullFile(Path path, Config sysProps, boolean loadGlobalProperties) throws IOException {
      Config fallback = loadGlobalProperties ? loadAncestorGlobalConfigs(path, sysProps) : sysProps;
  
      if (this.javaPropsPullFileFilter.accept(path)) {
        return loadJavaPropsWithFallback(path, fallback).resolve();
      } else if (this.hoconPullFileFilter.accept(path)) {
        return loadHoconConfigAtPath(path).withFallback(fallback).resolve();
      } else {
        throw new IOException(String.format("Cannot load pull file %s due to unrecognized extension.", path));
      }
    }
docs: Load a single pull file.
  @param path The {@link Path} to the pull file to load, full path
  @param sysProps A {@link Config} used as fallback.
  @param loadGlobalProperties if true, will also load at most one *.properties file per directory from the
  {@link #rootDirectory} to the pull file {@link Path}.
  @return The loaded {@link Config}.
  @throws IOException