//log.info("opening session file " + file.getAbsolutePath());
//WaitMessageDialog waitMessageDialog = View.getSingleton().getWaitMessageDialog("Loading session file. Please wait ...");
session.open(file, this);
Database db = new Database();
db.open(file.getAbsolutePath());
Map <String, String> curMap = new HashMap<String,String>();
Map <String, String> cmpMap = new HashMap<String,String>();
// Load the 2 sessions into 2 maps
this.buildHistoryMap(Database.getSingleton().getTableHistory(), curMap);
this.buildHistoryMap(db.getTableHistory(), cmpMap);
File outputFile = this.getOutputFile();
if (outputFile != null) {
// Write the result to the specified file