code: public Configuration fromFile(URL path) throws ConfigurationLoadException {
      PropertiesConfiguration configuration = setupConfiguration(new PropertiesConfiguration());
      configuration.setURL(path);
      try {
        configuration.load();
        return configuration;
      } catch (ConfigurationException e) {
        throw new ConfigurationLoadException(
            "Encountered a problem reading the provided configuration file \"" + path + "\"!", e);
      }
    }
docs: Loads configuration from a specified path.
  
  @param path the path to try first as a resource, then as a file
  @throws ConfigurationLoadException if the configuration could not be
  loaded.
  @returns properties loaded from the specified path or null.