private function createNewFile()
{
$this->fileCount++;
$filePath = $this->getCurrentFilePath();
$this->writtenFilePaths[] = $filePath;
@unlink($filePath);
$this->writer = new XMLWriter();
$this->writer->openMemory();
$this->writer->startDocument('1.0', 'UTF-8');
$this->writer->setIndent($this->useIndent);
$this->writer->startElement('urlset');
$this->writer->writeAttribute('xmlns', 'http://www.sitemaps.org/schemas/sitemap/0.9');
}