Deletes a file or directory; directories are recursively removed
@param name {String} file or dir to delete
@async
function(name) {
      return new Promise((resolve, reject) => {
        rimraf(name, err => {
          if (err) {
            reject(err);
          } else {
            resolve();
          }
        });
      });
    }