generate a txt file in /file.txt
however in the phone's file explorer the file appears but when I connect the usb cable the same file does not appear on the PC.
compiled application
I found that after generating the file, restart the device the file appears on the pc via the usb cable