added visited files and dirs
updated doc