private void saveHelper(bool newSaveFile)
 {
     if (newSaveFile)
     {
         var sfd = new SaveFileDialog();
         sfd.Filter = "EDM File|*.edm";
         if (sfd.ShowDialog() == DialogResult.OK)
         {
             if (!string.IsNullOrWhiteSpace(sfd.FileName))
             {
                 _saveFileName = sfd.FileName;
             }
         }
         else
         {
             return;
         }
     }
     try
     {
         using (var file = File.Create(_saveFileName))
         {
             _edmAsset.SaveToFile(file);
         }
         this.Text = Resources.MainFormTitle + " - " + _saveFileName;
     }
     catch (Exception ex)
     {
         MessageBox.Show(Resources.UnableToSaveFileError, Resources.ErrorDialogTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }