I have a problem I can´t solve, but maybe you guys can ...

I have a Folder with subfolders .
The Folder structure looks like this:
TopFolder/Content/Clips/ClipTitle/ActualClip.mxf
The ClipTitle will be like: AA0140
The ActualClip will then be: AA014001.mxf
Inside the AA0140 folder there can be several .mxf files
These will be called AA014001, AA014002, AA014003, AA014004, AA014005 and so on ...
These are files generated on a Camcorder. Many of these camcorders use memory cards with Fat32 formatting. Fat32 has a file size limit of 2.05 GB. If a recording is long, and the file size exceed 2.05 GB, the camera will start writing to a new file, and close the old one. This is what´s called Spanned Clips.
The Folder that Hazel is watching will only have .MXF files in it. No sub-folders at this point.
Lets say the folder contained these files :
* AA014001 - single file
* AA014101 - single file
* AA014201 - spanned clip 1 part 1
* AA014202 - spanned clip 1 part 2
* AA014203 - spanned clip 1 part 3
* AA014301 - spanned clip 2 part 1
* AA014302 - spanned clip 2 part 2
* AA014401 - single clip
I would like to put all single clips into a sub-folder named with the first two letters and 4 first numbers.
Example: the file AA014401 is put into a folder called "AA0144"
I would also like to put spanned clips into a sub-folder named with the first two letters and 4 first numbers, followed by the text "Spanned"
Example the files AA014201, AA014202 and AA014202 areput into a folder called "AA0142 Spanned"
Any ideas ?
Kind regards Nils M Alexandersen