Added the code to read the data

Added the code to read the data