added file i/o to android