all reading from file to populate graph