code: function(err, str, fileDetails) {
        if (err) {
          return cb(err);
        }
  
        var res = {
          stream: str,
          type: fileDetails.contentType,
          length: fileDetails.length,
          name: fileDetails.filename
        };
        return cb(undefined, res);
      }
docs: fileOptions (e.g. get thumbnail)