Step 2)Code to read the written data