Open attached files with app

Hello!
Is there some way to associate a certain file extension with an app?

The thing i want to do is to be able to open an attached file directly in my app via an email for example.
Is this possible? [import]uid: 103182 topic_id: 23047 reply_id: 323047[/import]

Nobody? =/ [import]uid: 103182 topic_id: 23047 reply_id: 92170[/import]