Add support for excluding folders