code: public void saveEffectiveConfigTo(Path outputPath) {
  		try {
  			String renderedConfig = renderEffectiveConfig();
  			Files.write(outputPath, renderedConfig.getBytes(UTF_8), new StandardOpenOption[]{CREATE, WRITE, TRUNCATE_EXISTING});
  		} catch (IOException e) {
  			throw new RuntimeException("Failed to serialize effective config as properties file", e);
  		}
  	}
docs: rendering