/** * Deletes a specific file from the processing folder. */ public function deleteFile() { $fileName = GeneralUtility::_GP('fileName'); $filePath = PATH_site . Core::getProcessedFolderPath() . $fileName; if (file_exists($filePath)) { unlink($filePath); } }