public void selectFile() {
        filePath = dlgFileSelector.open();
        if (filePath != null) {
            String name = dlgFileSelector.getFileName();
            if (name.length() > 50) {
                name = name.substring(0, 47) + "...";
            }
            lblBoardFileName.setText(name);
        }
    }