Global Variable json filename [solved]

Hi, could we get the filename of the current loaded json file, to easy fill loadJSON(global....), if the name of the json file changes you have to change it too...

Thanks!

That's already possible:

app.on('sessionOpened', (data, client)=>{
    var sessionPath = data.path
})

Thank you!