Refactored XmlFileNameMapping to be abstract.