Opening file and reading from file added.