Detect content type as extnames are processed