complete directory search and file search in ftw(), still need to finish symbolic link search.