removing insertion of line numbers and breaking tokenization up into groups of new line separated text to avoid eXist stack overflow