String prefix = makePrefix(f);
logger.info("importing " + f);
String filename = f.getName().toLowerCase();
if (filename.endsWith(EXPORT_FILE_OLD_SUFFIX)) {
TextMetricsFileImporter task = new TextMetricsFileImporter(data, f, prefix);
task.doImport();
} else if (filename.endsWith(EXPORT_FILE_SUFFIX)) {
ArchiveMetricsFileImporter task = new ArchiveMetricsFileImporter(
data, f, prefix, instructionSpec);
task.doImport();
}
prefixes.put(f.getName(), prefix);
if (listener != null)
listener.actionPerformed(new ActionEvent(this,