PhoneGap file reader