Hello
You can try the excelent module Native file documents:
https://marketplace.mendix.com/link/component/114253
See also the sample project:
https://marketplace.mendix.com/link/component/114253
Be aware that: "You need to create a custom build to use it, it does not work in the Make It Native app!"