one directory search & one file search function added