private function buildOutputPath($currentFile)
{
$pathInfo = pathinfo($currentFile);
$servicePath = $pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.json';
if (strpos($servicePath, '/') !== 0) {
$servicePath = '/' . $servicePath;
}
$servicePath = strtolower($servicePath);
return $this->outputPath . $servicePath;
}