Working version, after sorting the files into numerical order... doh!