File upload improvements.