add upload file Content-Type detection