Fixes #9. Simple filtering logic added accordingly. Further testing will
be needed to see if we need expand the string matching to regular
expressions.