code: @Override
    public ConfigurationStore getStore(final String name) throws ConfigException {
      try {
        final File dir = new File(dirPath);
        final String newPath = dirPath + name;
  
        final File[] files = dir.listFiles(new DirsOnly());
  
        for (final File f: files) {
          if (f.getName().equals(name)) {
            return new ConfigurationFileStore(newPath);
          }
        }
  
        final File newDir = new File(newPath);
        if (!newDir.mkdir()) {
          throw new ConfigException("Unable to create directory " + newPath);
        }
  
        return new ConfigurationFileStore(newPath);
      } catch (final Throwable t) {
        throw new ConfigException(t);
      }
    }
docs: Get the named store. Create it if it does not exist
  
  @param name of config
  @return store
  @throws ConfigException