void SaveUserFile(UserFile users) { try { UserFile.Save(users); } catch (Exception ex) { Log.Write("SaveUserFile", ex); MessageBox.Show(this, "Error loading user files: " + ex.Message, App.Name); } }