Adds support for ignoring certain files via exclusion patterns.