Reading and merging of data.