Fixed File I/O

Selecting cancel option for JFileChooser no longer throws exception /
saves anyway