added reading of the file