If opening the stream was not successful, this test will fail. After this check, a loop prints the values
32 to 255 together with the corresponding characters.
In the function outputFile(), the constructor of the class ifstream opens the file for reading.
Then the contents of the file are read and output characterwise.