public void OpenFile() { var path = _fileDialogService.GetOpenFilePath(FileFilter); if (String.IsNullOrWhiteSpace(path)) { return; } var document = OutlinerReader.Read(path); OpenDocument(document); }