int res = dlg.showOpenDialog(this);
if (res == JFileChooser.APPROVE_OPTION){
cfg.setLastOpenDialogPath(dlg.getCurrentDirectory());
try {
File csv = dlg.getSelectedFile();
MahonParser parser = new MahonParser(csv);
ArrayList<MkbItem> list = parser.read();
DirectoryMKB10 dir = (DirectoryMKB10) DirectoryLocator.getDirectory(DirectoryMKB10.class, false);
dir.synchronize(list);
DirectoryLocator.getDirectory(DirectoryMKB10.class, true);
} catch (FileNotFoundException ex) {
MessageBox.showExceptionOnly(ex);