Python3 iterators no longer have .next.
A small bit of nip and tuck - and it runs in python3 - the main script has converted one file with it!