added path to subdirectory
added different filter implementation