added support for multiple filter and exclusion patterns