Reaching EOF successfully