Easy way to find what sample libraries are used in a file?

Is there an easy way to see what sample libraries are being used in a Cubase file?

I’m preparing to move to a new computer (Mac Studio M3 Ultra), and was figuring that this was a good time to do some housecleaning. My template has been evolving for many years (my first sequencer was Pro 24 on an Atari), and I’ve succumbed to buying way too many sample libraries over the decades.

I’m hoping to cull down what are currently 22 TB of libraries spread out over 3 OWC Thunderblade 8TB drives, ideally down to either one 8TB drive, or even possibly to 8TB on the Mac Studio internal drive (I got the model with a 16TB drive) - looking to become a bit more portable when working remotely.

But to do so, I’ll need to know what libraries are used in my template, which has a couple thousand tracks (the majority of them are disabled until needed). Short of enabling each one, opening it up to see what library is used, and making a list, is there a way that anyone knows to just run a report or something?

Thanks in advance!
Dave