code: function parseCookiesNames(cookieValue) {
    var cookies = [];
  
    if (!cookieValue || cookieValue === '') {
      return cookies;
    }
  
    var ary = cookieValue.toString().split(/;\s+/);
    ary.forEach(function(ck) {
      var ck = ck.trim();
      if (ck !== '') {
        var parsed = ck.split('=')[0];
        if (parsed && parsed !== '') {
          cookies.push(parsed.toLowerCase().trim());
        }
      }
    });
  
    cookies = filterByWhitelist(cookies, globalOptions.cookieWhitelist);
    return cookies.sort();
  }
docs: -- FILENAME CONSTRUCTION ----------------------------------------------------