How to save files in private directory?

Hi . I want to save or copy files to private folder of app , but its saved on root directory
my path is : myfile.txt (without slash)

can u help me?

You can set your path with file:/// and whatever path it is you want