implement ability to exclude by match or filetype (#6)