int res = dlg.showOpenDialog(this);
if (res == JFileChooser.APPROVE_OPTION){
cfg.setLastOpenDialogPath(dlg.getCurrentDirectory());
try {
File htm = dlg.getSelectedFile();
AtcParser parser = new AtcParser(htm);
ArrayList<DirectoryVidalAtcItem> list = parser.read();
} catch (FileNotFoundException ex) {
MessageBox.showExceptionOnly(ex);
} catch (IOException ex) {
MessageBox.showExceptionOnly(ex);