removed mkdirp.