classes.push(`${cssEscape(extensions.slice(i).join('.').toLowerCase())}-ext-file-icon`);// add each combination of all found extensions if more than one
constextensions=dotSegments.splice(1);
if(extensions.length>0){
for(leti=0;i<extensions.length;i++){
classes.push(`${cssEscape(extensions.slice(i).join('.').toLowerCase())}-ext-file-icon`);// add each combination of all found extensions if more than one