Implemented custom file dialogs
Added changing inputEncoding on file open