allow filtering for paths