i2 Data Systems interview question

File transfer related coding question.