Implemented the folder search.