Intial version of the directory search