Implemented chunked file transfer.