Initial implementation of grepping