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