Reads the documents inserted