What I want to do is to use my FindLatestFile program but to in some way incorporate my code from FindFile so that instead of hard coding the search criteria I want to include in my search, the criteria will be read from the XML.
I hope that is clear. If not please free to ask questions.
Creating search expressions dynamically from text input sounds to me like a job for the XPath API. Java standard library since 1.5 contains the javax.xml.xpath package which provides for evaluation of XPath expressions.