Get filename for currently active theme

Is there a way to get the filename for the currently active theme? I had written some scripts that relied on the theme being called theme.less but that is no longer the case in recent versions of TP3.

I don’t promise to never change this, but right now you can read it out of user defaults as DefaultStyleSheetURL.