code: function checkMissingDir(destinationFile) {
    var filePath = path.dirname(destinationFile);
    var pathAbsolute = path.isAbsolute(filePath);
    var directories = filePath.split(path.sep);
    return transversePath(directories);
  }
docs: check for missing directory