Consolidate path and file exclusion patterns