public DocumentVM Open(string filepath) { var fileViewModel = _files.FirstOrDefault(fm => fm.FilePath == filepath); if (fileViewModel != null) { return(fileViewModel); } fileViewModel = new DocumentVM(filepath); _files.Add(fileViewModel); RecentFiles.AddNewEntryIntoMRU(filepath); RaisePropertyChanged("RecentFiles"); return(fileViewModel); }