async Task <IPullRequestSessionFile> FindSessionFile() { await sessionManager.EnsureInitialized(); var session = sessionManager.CurrentSession; if (session == null) { return(null); } var relativePath = sessionManager.GetRelativePath(textView.TextBuffer); if (relativePath == null) { return(null); } return(await session.GetFile(relativePath)); }