code: function existsSync(filePath) {
    if (fs.existsSync) {
      return fs.existsSync(filePath);
    } else {
      try {
        fs.accessSync(filePath);
        return true;
      } catch (ex) {
        return false;
      }
    }
  }
docs: /* istanbul ignore next 
  Syncronous version of {@link exists}. Delegates to `fs.existsSync` if that function is available.
  
  @function existsSync
  @param {String} filePath Input file path
  @returns {Boolean} Whether the file exists or not
  
  @example
  var exists = io.existsSync('path/to/data.tsv')
  console.log(exists) // `true` if file exists, `false` if not.