rejig to upload only a single file and a single segment