Implemented file loading in the editor.