search files in the directory recurrently