private function handleHackFile($fileName)
    {
        $logger   = $this->logger;
        $previous = spl_autoload_functions();

        include $fileName;

        $found = $this->determineRegisteredAutoLoader($previous);

        foreach ($found as $index => $loader) {
            $hackName = basename($fileName) . '.' . $index;
            $this->enumLoader->add($this->compileHack($loader, $hackName), $hackName);
        }
        $logger->debug(
            'Custom class loader hack {file} loaded {count} auto load functions.',
            array('file' => $fileName, 'count' => count($found))
        );
    }