/**
  * @param FileAbstraction $file
  * @return string
  */
 protected function generateSystemPath(FileAbstraction $file)
 {
     $pathNodes = $file->getAncestors(0, true);
     $items = array();
     foreach ($pathNodes as $node) {
         array_unshift($items, $node->__toString());
     }
     $path = implode(DIRECTORY_SEPARATOR, $items);
     return $this->pathTransformer->transformSystemPath($path);
 }