code: function getFilesizeInBytes(fileName) {
      try {
          var stats = fs.statSync(fileName);
          return stats.size || 0;
      } catch (ex) {
          console.log(ex);
          return 0;
      }
  }
docs: Gets the file size in bytes.
  @param   {string} fileName The name of the file to get the size
  @returns {Number} the file size in bytes