Xml trace

Hi,

i am using this xml scheme, i wonder if anyone can tell me how to target only the last <file> in each <folder> ?

<?xml version="1.0"?>
<TREE>        
    <FOLDER NAME="Color">
        <FILE NAME="Palette Tint" SWF="pal_tint.swf"  HELP="apply color tint  />
         <FILE NAME="Saturation" SWF="sublink11.html" HELP="Saturation tool" />
    </FOLDER>

</TREE>

take a look at this http://www.kirupa.com/developer/actionscript/xmldataflash2.htm

put var RootNode:XMLNode at the top.

then try referencing it with RootNode.childNodes*.lastChild

not 100% on that