The File has the name as well as the first table. I do not think (without looking) that the layouts carry the name.
The database file, the first table defined in that file and the first window to be opened all get the same name as that of the file's name at the time that the table was defined. Each time that you create a new table in FileMaker, FileMaker usually creates a table occurrence and a layout with the same name.
If you rename the file, the window name will change but the other objects will retain their original names. (Unless there is a script that renames the window.)
You can create a script that renames the window if that is something that you want to do.
The script step is named Set Window Title, this is not a script you find in Manage Scripts but a script step that you can include in a script that you create from within Manage | Scripts.