public async void ExportFile()
        {
            Console.WriteLine(_selectedIndex);
            string         extension = FileProperties.GetExtension(GDAT.Files[_selectedIndex].Magic);
            SaveFileDialog dialog    = new SaveFileDialog()
            {
                Title            = "Where do you want to save this file !",
                DefaultExtension = extension,
                InitialFileName  = _selectedIndex.ToString() + "." + extension
            };
            IClassicDesktopStyleApplicationLifetime classicDesktopLifetime = (IClassicDesktopStyleApplicationLifetime)Application.Current.ApplicationLifetime;

            string results = await dialog.ShowAsync(classicDesktopLifetime.MainWindow);

            if (results == null)
            {
                return;
            }
            else
            {
                Console.WriteLine("Test");
                GDATFile file = GDAT.Files[_selectedIndex];
                using (FileStream s = File.Create(results)){
                    file.Export(s);
                }
            }
        }
        void AddFormatProperties(GDATFile file)
        {
            string         formattedMagic = FileProperties.GetExtension(file.Magic);
            FileProperties props          = new FileProperties("Format", formattedMagic);

            Properties.Add(props);
            AddFormatDefinition(formattedMagic);
        }