Code to read a single file. One which works on multiple files coming up soon