- added reading from file.