main added and fileChooser works