add the function for searching files recusively