added a util for inserting a newline every ten lines until a bunch of newlines is found