Best location for current file title

This is an enterprise web application. It has a workspace in which a file can have multiple tabs. The user opens the file, then creates as many tabs as they want (up to some reasonable limit) to explore different dimensions of the file. Which of these locations for a file title is better?

  • One option is to have the title on the same bar as the file related options.
  • The other is to have it on the same bar as the tabs.

I have a clear preference, but I won't say which it is.

enter image description here

enter image description here