Can you provide a little more info on what you are trying to do in your use case? Because, I have tried storing a text file in the repository and I saw that in the repository, it's being saved as text file only.
I am also issues in using this D_pxNewFolder and D_pxNewFile to create a folder and file int hat folder. but i am facing challenges in passing the filepath as parameter. Could you please let me know how is the path passed.