Added a read and merge option.