note
n3toy
Yours is a much better solution than my simple one.
<br><br>
Although my solution works for the example given, it does assume that all filenames are of the format provided in the original post and does not take into consideration the examples you provided.
<br><br>
Thanks for the feedback and great sample code!
729477
729507