function removeExt(filename){
let off = filename.lastIndexOf(".");
if(off>0){
return filename.substr(0,off)
}
return filename;
}
function removeExt(filename){
let off = filename.lastIndexOf(".");
if(off>0){
return filename.substr(0,off)
}
return filename;
}