Added example on how to read from file.