toString the path is directory