1. A computer-implemented method of processing a text file comprising: retrieving the text file; displaying the text file and a tree structure showing processing commands; and performing a set of visual editing operations to extract given portions of the text file while discarding other text, characters or white space, the displayed tree structure updated to include all processing commands representative of the visual editing operations.