added the choice of multiple text file sources
slight changes to printing