private void createFile(){
            if ((nameTextField != null)
                    && (pathFileTextField != null)){
                algorythmFile = new AlgorythmFile(
                        nameTextField.getText(),
                        algoTypeComboBox.getSelectedItem().toString(),
                        file

                );
            }
            else
                JOptionPane.showMessageDialog(this, "Error! File hasn't added to base!", "Data Transfer",
                        JOptionPane.ERROR_MESSAGE);


        }