Added IOException to signature of reachedEnd