String sType = bb.getDataAsString("UnitType")[0];
if (sType.equals("Tank") || sType.equals("Naval")
|| sType.equals("Surface") || sType.equals("Hydrofoil")) {
loader = new BLKTankFile(bb);
} else if (sType.equals("Infantry")) {
loader = new BLKInfantryFile(bb);
} else if (sType.equals("BattleArmor")) {
loader = new BLKBattleArmorFile(bb);
} else if (sType.equals("ProtoMech")) {
loader = new BLKProtoFile(bb);
} else if (sType.equals("Mech")) {