base directory search