static IterableIterator scanLog_bounded_iterator(File file, long max) { final Iterator it = linesFromFile_bounded(file, max); ret iteratorFromFunction(func -> S { while (it.hasNext()) { S s = it.next(); if (isProperlyQuoted(s)) ret unquote(s); } null; }); }