code: public static void loadPropsBySuffix(final File jobPath, final Props props,
        final String... suffixes) {
      try {
        if (jobPath.isDirectory()) {
          final File[] files = jobPath.listFiles();
          if (files != null) {
            for (final File file : files) {
              loadPropsBySuffix(file, props, suffixes);
            }
          }
        } else if (endsWith(jobPath, suffixes)) {
          props.putAll(new Props(null, jobPath.getAbsolutePath()));
        }
      } catch (final IOException e) {
        throw new RuntimeException("Error loading schedule properties.", e);
      }
    }
docs: Load properties from the given path
  
  @param jobPath The path to load from
  @param props The parent properties for loaded properties
  @param suffixes The suffixes of files to load