} else
{
LOGGER.debug("Filename is present. Loading file");
String fileName = txtFilename.getText().trim();
String format = (String) cboFileFormat.getSelectedItem();
ImportData dataImport;
if (format.equals("Excel 2007"))
{
LOGGER.debug("Excel 2007 format selected");
dataImport = new ImportExcel2007();
course = dataImport.importCourse(fileName);
} else if (format.equals("Excel 97-2003"))
{
LOGGER.debug("Excel 97-2003 format selected");
// TODO: Implement ImportExcel2003 class
//dataImport = new ImportExcel2003();