write and read text file from sdcard