public void LoadSession(string fileName)
        {
            if (IsSessionChanged())
            {
                MessengerStatic.NotifySessionOverwriting(null);
            }

            CurrentSessionPath = fileName;
            if (!File.Exists(fileName))
            {
                return;
            }
            CurrentSession = XmlSerializerService.DeserializeSession(fileName);
            browserPath    = CurrentSession.BrowserPath;
            TabItems       = CurrentSession.TabItems;

            IsSessionLoaded = true;
            InitialSession  = new Session(CurrentSession);

            TabsHistory.Insert(0, new HistoryItem(CurrentSessionPath));
            CompressTabsHisotry();

            WireFilter();
        }
        public void CompressTabsHisotry()
        {
            List <HistoryItem> tmpHistory = TabsHistory.GroupBy(x => x.FullPath).Select(x => x.First()).ToList();

            TabsHistory = new ObservableCollection <HistoryItem>(tmpHistory);
        }