public function createDummyFile($fileName = 'test.txt', $content = '')
    {
        $this->createDummyUploadFolder();
        $uniqueFileName = $this->getUniqueFileOrFolderPath($fileName);

        if (!GeneralUtility::writeFile($uniqueFileName, $content)) {
            throw new Exception('The file ' . $uniqueFileName . ' could not be created.', 1334439291);
        }

        $this->addToDummyFileList($uniqueFileName);

        return $uniqueFileName;
    }