Fixed a bug in xml generation

Fixed bug with directory duplication in the xml generation.
Documented tagger filename format to avoid future problems of this type.