code: public static Properties loadProperties(final String baseUrl, final String filename) {
          checkNotNull("baseUrl", baseUrl);
          checkNotNull("filename", filename);
  
          try {
              final URL url = new URL(baseUrl);
              return loadProperties(url, filename);
          } catch (final MalformedURLException ex) {
              throw new IllegalArgumentException("The argument 'srcUrl' is not a valid URL [" + baseUrl + "]!", ex);
          }
  
      }
docs: Load a file from an directory. Wraps a possible <code>MalformedURLException</code> exception into a <code>RuntimeException</code>.
  
  @param baseUrl
  Directory URL as <code>String</code> - Cannot be <code>null</code>.
  @param filename
  Filename without path - Cannot be <code>null</code>.
  
  @return Properties.