private async void NavigateFile() { _file = await _navigateProvider.NavigateFile(); if (_file != null) { Path = _file.Path; _historyProvider.AddFile(_file); _logger.WriteInfo($"new file from {_file.Path} opened and added in history"); } Status = _historyProvider.Index + 1 + "/" + _historyProvider.Count; }