Fixed 'remove file' command not removing editor