Add converter and junit testing to converter.
Also fix bug in savelistener when saving new file.