private void InitializeProfile() { if (!Directory.Exists(Helper.Configuration.AppDataFolderFullPath)) { Directory.CreateDirectory(Helper.Configuration.AppDataFolderFullPath); if (Directory.Exists(Helper.Configuration.DefaultFolderFullPath)) { foreach (var file in Directory.GetFiles(Helper.Configuration.DefaultFolderFullPath)) { File.Copy(file, Path.Combine(Helper.Configuration.AppDataFolderFullPath, Path.GetFileName(file))); } } else { const string message = " We are unable to load your radio collection \n And We are unable to load the default collection \n You will have to create your radio station list from scratch."; MessageBox.Show(message, "Error Initializing default data", MessageBoxButton.OK); this.profile = new Profile(); } } DataLibrary dataLibrary = new DataLibrary(Helper.Configuration.AppDataJSONFullPath); this.profile = dataLibrary.LoadProfile(); }