I have done this a bunch of times, using perl. IMHO, it is easier to read a CSV file (of course that means your content cannot have commas but that is easy to work around). Just read a line, calculate the output file name, create and write the XML, and apply the Extended Attributes.Is this a one shot, import the data deal ?