Not so private since it is called in plugin AddKMLFile!