docs: private static Properties loadPropertiesFile(File homeDir) {
      Properties p = new Properties();
      File propsFile = new File(homeDir, "conf/sonar.properties");
      if (propsFile.exists()) {
        try (Reader reader = new InputStreamReader(new FileInputStream(propsFile), UTF_8)) {
          p.load(reader);
        } catch (IOException e) {
          throw new IllegalStateException("Cannot open file " + propsFile, e);
        }
      } else {
        LoggerFactory.getLogger(AppSettingsLoaderImpl.class).warn("Configuration file not found: {}", propsFile);
      }
      return p;
    }