Yip, that's what I've been thinking of, too, but I don't quite get the idea of calculating the offsets. And what do you mean by:
start the offset at 0 and sum it with the size of previous file entry
Does that mean I should generate an XML for each file? Am I getting it wrong?