set content type correct for files