I want to save file which is downloaded from server. How to write file to the phone and read file from phone?