private function appendEachFile(array $fileNames)
{
foreach ($fileNames as $fileName => $filePath) {
if (!is_array($fileName)) {
$txt = $this->getContentFromTemplate($fileName, $this->crudTokens);
$handle = fopen($filePath, "a");
fwrite($handle, $txt);
fclose($handle);
}
}
}