...but you are passed the full path which is enough to figure out the MIME type in your program (I think GnomeVFS has functions for this).