code: function readFileStats(filePath) {
    return new Promise((resolve, reject) => {
      fs.stat(filePath, (err, fstat) => {
        if (err) {
          reject(err);
          return;
        }
        resolve(fstat);
      });
    });
  }
docs: Read the metadata of the file
  @param {string} filePath path and filename: the file to read
  @return {Promise<fs.Stats>} a node fs.Stats that provides information about a file
  @see https://nodejs.org/api/fs.html#fs_class_fs_stats