iterate over on-disk chunks using for loop and indexing