make it possible to ignore files with a pattern