Trying out to avoid running into memory problems by chunking up the data.