I have the following function that reads a file (take a look at the filename (that contains the data inside the second block of code) and reads the data inside
filename