How to create folder and file in users machine Documents folder?

Hi all,
I am developing an InDesign plugin using UXP and I want to create a folder and file inside users machine Documents folder. How can we do this?

Thanks

Whilst I haven’t looked at the InDesign docs in detail, I believe everything you need is to be found here or is linked within