Send and store MIME type info with files