UXP plugin Promises are forever pending
I'm writing a plugin for indesign.
I want to read the name from the active document.
This is my code in a helper file:
```
I expected it to be a File object according to the api reference here: https://developer.adobe.com/indesign/dom/api/d/Document/
