code: private static ClusterConfig loadConfig(File config, ClassLoader classLoader) {
      return new ConfigMapper(classLoader).loadResources(ClusterConfig.class, config.getAbsolutePath());
    }
docs: Loads a configuration from the given file.