else if (fileType.equals("mef"))
visitor = new MEFVisitor();
else if (fileType.equals("mef2"))
visitor = new MEF2Visitor();
else
throw new BadArgumentException("Bad file type parameter.");
// --- import metadata from MEF, Xml, ZIP files
final String finalPreferredSchema = preferredSchema;
MEFLib.visit(mefFile, visitor, new IMEFVisitor() {