docs: function verifySize(correctSize, filepath) {
      return calculateSize(filepath).then(size => {
          if (size !== correctSize) {
              throw new Error(`Incorrect file size: expected ${correctSize}, got ${size}`);
          }
          return true;
      });
  }