A user can add Favorite linked to a file. In that case he doesn't need to add a query in the editor.
I think we should keep the menu option enabled to allow a user to add a reference to a SQL file to the favorite without writing some characters in the query editor.