able to search (maybe deleted) file in root dir, bug fix on identify dir and file