a mini grep like capability rudimentary