Removed END_OF_FILE = 0, which was only necessary early on in testing.