Saving files in folder using ionic 4 and electron desktop

Hi
I would like to save a file from my ionic 4 app to a folder using background service. I’ve built a desktop app using electron for windows.
Is there any way we can save files in desktop using ionic 4 electron build?

Thanks