Added file editor feature for currently active for both resources and directories