Replaced folder filter with a regex.