1. A method, comprising: collecting user interface events and file system events to capture text snippets of a document focused on an output device; merging text snippets that are similar; using merged text snippets to build a context graph that discovers files associated with a task; and outputting the files associated with the task.