code: protected static Properties loadConfig(String name) {
      try {
        URL url = new URL(name);
        return loadConfig(url);
      } catch (Exception ex) {
        return loadConfig(new File(name));
      }
    }
docs: Loads properties from a file or url with the passed name
  @param name The name of the file or URL
  @return the loaded properties