Swift - the incrementing integers was to get at the actual UploadFile objects and not the attachments' information. The attachments' names are stil preserved inside those objects.