IO#lines is deprecated