Got rid of he END of file check