__FILE__ in WordPress plugins

It should work (and does when I test on a new WP install) with __FILE__, though it’s not recommended because it exposes the server path and is just generally an ugly URL. You can replace it with a unique identifier like ‘sb-generator-options’ or whatever really, as long as it’s unique. the important part is the last param that tells it what function to use to render the page.

Are you maybe moving add_submenu_page out of the plugin file, or are you just editing it in place?