Add the possibility to exclude filetypes

Close #5