code: public static List<Specification> parseAllSpecifications() {
          List<Specification> allMonitorables = new ArrayList<>();
          try {
              File[] files = new File(PATHNAME).listFiles();
              if (files != null) {
                  for (File file : files) {
                      allMonitorables.addAll(parseSpecification(file));
                  }
              }
          } catch (Exception e) {
              // reported, fallback to specification from resources
          }
          if (allMonitorables.size() < 1) {
              InputStream res = ParfaitAgent.class.getResourceAsStream(RESOURCE);
              allMonitorables.addAll(parseInputSpecification(res));
          }
          return allMonitorables;
      }
docs: parse all configuration files from the parfait directory