How to get diagram file info

Good morning,
I am extending Camunda modeler with a new group tab, and I would like to get, for an opened diagram, its info like file path and so on. I guess that properties are located in app.js or in bpmn-tab.js, but I can’t get them in my props file. Why can’t I ‘require’ them? How can I get this data?

Thank you.