code: function fileExists(fileName) {
    return new BbPromise((resolve) => {
      fs.exists(fileName, (exists) => resolve(exists));
    });
  }
docs: A promise-based function that determines if a file exists
  @param {string} fileName The path to the file