Fixed a line to use EOF explicitly.