Support null fileName in upload.