We have the KML string so may be a good regex can parse the document name.