Refactor DataTransfer for single upload.