getRecentName(): return basename of directory but not this of the link anymore