docs: function calculateSize(filepath) {
      return new Promise((fulfill, reject) => {
          fs.stat(filepath, (err, stats) => {
              if (err) return reject(err);
              fulfill(stats.size);
          });
      });
  }