@FXML
    protected void addFiles(ActionEvent event) throws Exception {

        final FileChooser fileChooser = new FileChooser();

        List<File> list
                = fileChooser.showOpenMultipleDialog(currentStage);
        if (list != null) {
            for (File file : list) {
                addFileToList(file);
            }
        }

//        File file = fileChooser.showOpenDialog(currentStage);
//        if (file != null) {
//            addFileToList(file);
//
//        }
    }