added E to expr
parsefilename now does not have brain fart if extension is missing