[PDI-10610]: 	distinguish file extension from document type; add mime ty...

...pe.