re-indented file
adding mkdirp module and using it to make deep directories without failing. There was also some auto reformatting of the file.