Added some code to split the log files into smaller chunks.

After this I will tweak the parsing logic to iterate through files so that if it all explodes we can start parsing from the point it failed instead of doing it all again.