When read, read a block of documents, and write to dictionary together