updated isDir valdiator doc
fixed path error