upload files in segments no larger than 5G