code: public static Props loadPropsInDir(final Props parent, final File dir, final String... suffixes) {
      try {
        final Props props = new Props(parent);
        final File[] files = dir.listFiles();
        Arrays.sort(files);
        if (files != null) {
          for (final File f : files) {
            if (f.isFile() && endsWith(f, suffixes)) {
              props.putAll(new Props(null, f.getAbsolutePath()));
            }
          }
        }
        return props;
      } catch (final IOException e) {
        throw new RuntimeException("Error loading properties.", e);
      }
    }
docs: Load job schedules from the given directories
  
  @param parent The parent properties for these properties
  @param dir The directory to look in
  @param suffixes File suffixes to load
  @return The loaded set of schedules