Naming a scene created with the NewScene function

I used the UnityEditor.SceneManagement.EditorSceneManager.NewScene() function to create a new scene in an editor script. The editor loads the new scene as it should. However, the scene shows up with the name Untitled, and I can’t seem to find a way to name it.
Ideally I’d be able to rename the scene from Untitled to a string variable I assign a few lines after the NewScene() function call. = “YorName”;