Added code to read file contents, but not bytes.