handle multiple and partial downloads