txtinfo: determine the mime type via the functions table