Just realized the getNextXLines method isn't completely finished. comment to reflect work needed, use with caution.