function to add mime types.