fixed error in upload() file info consolidation