Handles end of file better
54