String table1Key = row.getAttribute("table1_key").toString();
String table2 = row.getAttribute("table2").toString();
String table2Key = row.getAttribute("table2_key").toString();
try {
VPFFile vpfFile1 = VPFFileFactory.getInstance().getFile(directoryName.concat(
File.separator).concat(table1));
addFileToTable(vpfFile1);
VPFFile vpfFile2 = null;
VPFColumn joinColumn1 = vpfFile1.getColumn(table1Key);
VPFColumn joinColumn2;
try {
vpfFile2 = VPFFileFactory.getInstance().getFile(directoryName.concat(
File.separator).concat(table2));
addFileToTable(vpfFile2);
joinColumn2 = vpfFile2.getColumn(table2Key);
} catch (IOException exc) {
fileList.add(null);
// We need to add a geometry column
joinColumn2 = buildGeometryColumn(table2);
}