public static function dump($dirs, $file, $blackList = null)
    {
        $maps = array();

        foreach ($dirs as $dir) {
            $maps = array_merge($maps, static::createMap($dir, null, null, $blackList));
        }

        file_put_contents($file, sprintf('<?php return %s;', var_export($maps, true)));
    }