Added filter functionality.

Added filter functionality that returns paths matching whitelist excluding blacklist