Since I just answered this differently on another thread:
This is instructions for making an iOS open certain file types.