Added reading from file.