add exclusions for directories