in reply to Re (tilly) 1: I'm falling asleep here
in thread -s takes too long on 15,000 files

I would have realised that lc was out of place when my code would fail at university tomorrow morning. =)

So it looks like parsing until I can write an XS module for it. Thanks very much for the explanation.