example of a simple program for grepping over the entire corpus