This script takes a backup of /var/mobile/Library/SMS from an iPhone running iOS 6 and sorts texts into files broken up phone number and date.