Refactoring in Lucene Directory wrapper to decouple filter.