} 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")) {
String sType = bb.getDataAsString("UnitType")[0];
if (sType.equals("Tank") || sType.equals("Naval")