Put the mime type as argument for the function 2