code: public static EnhancedMap findSettings() throws Exception {
        if (new File(ReportConstants.CONFIG_FILE).canRead()) {
           return new CachingProperties(new ParsingProperties(new Settings(), ReportConstants.CONFIG_FILE));
        } else {
           InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream('/' + ReportConstants.CONFIG_FILE);
           if (in != null) {
              return new CachingProperties(new ParsingProperties(new Settings(), new InputStreamReader(in)));
           }
        }
        return null;
     }
docs: looks for {@link #CONFIG_FILE} in the working directory or in the classpath ({@link ClassLoader#getResourceAsStream(java.lang.String)
  }), when found creates {@link CachingProperties} holding {@link ParsingProperties}.
  
  @return settings or null
  @throws Exception