protected function writeFragment($fragment) {
		$fileHandle = fopen($this->outputFile, $this->writeMode);

		fwrite($fileHandle, $fragment);
		fclose($fileHandle);

		// appends to the file initially created with $writeMode = "w"
		$this->writeMode = 'a';
	}