If uploading a .log, set content_type to "text/plain"