Added filter functionality that returns paths matching whitelist excluding blacklist