Functional directory search.