Added reading in of chunk data