Added reading of files.