upload and media type formatter