traverse folders in php to search in shared files
add test for search() in shared cache