} else if (lowerName.endsWith(".mtf")) {
loader = new MtfFile(is);
} else if (lowerName.endsWith(".hmp")) {
loader = new HmpFile(is);
} else if (lowerName.endsWith(".hmv")) {
loader = new HmvFile(is);
} else if (lowerName.endsWith(".xml")) {
loader = new TdbFile(is);
} else if (lowerName.endsWith(".blk")) {
BuildingBlock bb = new BuildingBlock(is);
if (bb.exists("UnitType")) {