accepts a file name as input, reads the file, and outputs the contents.
Path name to the file.
Pair of the path name and either
if the read was successful, or
if an error occurred.