Made linesPerFile configurable
Made configurator more sensible
Merge branch 'STREAMS-163'