private GedcomRecordReader RewrittenFile()
        {
            var sourceFile     = ".\\Data\\Spouse-sealing.ged";
            var originalReader = GedcomRecordReader.CreateReader(sourceFile);
            var rewrittenPath  = sourceFile + ".rewritten";

            GedcomRecordWriter.OutputGedcom(originalReader.Database, rewrittenPath);

            return(GedcomRecordReader.CreateReader(rewrittenPath));
        }
 /// <summary>
 /// Saves the sample database out to a new file.
 /// </summary>
 /// <param name="db">The database to save.</param>
 public static void Save(GedcomDatabase db)
 {
     GedcomRecordWriter.OutputGedcom(db, "Rewritten.ged");
     Console.WriteLine($"Output database to rewritten.ged.");
 }