Add base64 encoding before passing code to editor
Add an option to create new file