My application produces a timer value when I shake the iphone. I need to perform 8 shakes and after each shake, i need to save that particular result into a file and later retrieve these values from the file to convert them into binary format. Can someone tell me if this can be done? If so, how? Thanks.