code: public List<Path> getPathList(String key) {
          List<Path> pathList = new ArrayList<>();
  
          try {
              String[] stringList = configuration.getStringArray(key);
  
              for (String pathStr : stringList) {
                  pathList.add(Paths.get(pathStr));
              }
          } catch (ConversionException ce) {
              throw new IllegalStateException(String.format("requested key [%s] is not convertable to an array", key));
          }
  
          return pathList;
      }
docs: Return a list of Path property values associated with the given key,
  or {@code defaultValue} if the key cannot be resolved.
  
  @param key the property name to resolve
  @return The list of Path properties
  @throws IllegalStateException if the value cannot be mapped to an array of strings