try
{
final Hermes myHermes = HermesFactory.createHermes(getConfig(), getHermes());
final Destination destination = myHermes.getDestination(getDestination(), Domain.UNKNOWN);
final FileInputStream istream = new FileInputStream(new File(getFile())) ;
final Collection messages = myHermes.fromXML(istream) ;
istream.close() ;
for (Iterator iter = messages.iterator() ; iter.hasNext() ; )
{