docs for deleteDir