Send mimeType=NULL if create file