protected function _niceFileName($file, $type)
{
switch ($type) {
case 'app':
return str_replace(APP, 'APP/', $file);
case 'cake':
return str_replace(CAKE, 'CAKE/', $file);
default:
return str_replace($this->_pluginPaths[$type], $type . '/', $file);
}
}