Can now read in data from file.