Simply YamlFile and include an extra constructor