static int Main(string[] args)
 {
     using (var of = new OpenFileDialog()
     {
         Filter = "Metadata files | *.store"
     })
     {
         if (of.ShowDialog() == DialogResult.OK)
         {
             var f = new Metadata_Store(of.FileName);
         }
     }
     Console.WriteLine("Done!");
     Console.ReadLine();
     return(0);
 }
        /// <summary>
        /// Serialize to a file from a directory.
        /// </summary>
        /// <param name="outDir"></param>
        /// <param name="inDir"></param>
        public static void Write(string outDir, string inDir)
        {
            Metadata_Store store = new Metadata_Store(inDir);

            store.Write(outDir);
        }