public void SaveToFile(string path, bool asBinary) { if (asBinary) throw new NotImplementedException(); using (var f = File.Create(path)) { RecursiveSaveToFile(f, 0); } }