private void ExportToFileLocAction(object sender, EventArgs args) { string folder = ((IFileFormat)ArchiveFile).FileInfo.FolderPath; string filePath = Path.Combine(folder, Label); Console.WriteLine($"filePath {filePath}"); ProgressWindow.Start(() => { ArchiveFileInfo.FileWrite(filePath); ProgressFinished(); }); ProgressWindow.Update($"Exporting {Label}", 0, true); }