Launch parameters / file association

Hi

I want to be able to launch my app with a filename (from a standard file explorer). In order to do this I need to be able to tell android that my app can handle files of type “x”, and get runtime access to the filename.

Is this possible?

Thanks