fixed the fileformat, TODO: make the buttons and the actionPerformed-method