If a file is activated in the file tree, open it in the editor.