docs: function _imageOptim(rawFile, algorithms, reduceFunc, initVal) {
      return Q.all([rawFile.loadSize(), rawFile.loadType()])
          .then(function () {
              return algorithms[rawFile.type].reduce(reduceFunc, initVal);
          })
          .fail(function (err) {
              throw err;
          });
  }