file close in XML export

add file close action in CliXmlExport export.