10. The tangible computer-readable storage medium of claim 6 that causes the computer system to further perform: capturing the text snippets of what is displayed for a user to see; capturing times at which the text snippets become visible to the user; capturing a duration over which the text snippets are visible; and capturing times at which the files are accessed.
6. A tangible computer-readable storage medium having computer-readable program code embodied therein that causes a computer system to perform: building a context graph including text snippets and files with links between nodes indicating a strength of a contextual relationship; pairing the text snippets with the files where a link weight between a text snippet and a file is increased when the text snippet is in temporal proximity to an event on the file; and using the context graph to classify a file.