1. A method for viewing a subset of a file in a secondary window, a viewable portion of the file being displayed in a main window of a user interface, the method comprising: receiving a user-selection of a reference marker in the user interface, the reference marker corresponding to a point of interest in the file; determining, based on the selected reference marker, a location of the point of interest in the file; applying a contextual boundary rule to determine a location of a context portion of the file; retrieving the subset of the file using the location of the point of interest and the location of the context portion of the file; and rendering the subset of the file in the secondary window, the secondary window being displayed such that at least a part of the viewable portion is concurrently displayed in the user interface.