dynamic optionAsFileContentYAML(String key, [File? def]) { var s = optionAsFileContentString(key, def); return s != null ? loadYaml(s) : null; }