included option to set cookie file_exists check