public void ToYamlFile(string FileName, YamlConfig config) { using ( var s = new FileStream(FileName, FileMode.Create) ) DefaultPresenter.ToYaml(s, this, config); }