/**
  * Returns the relative file path for the given step
  *
  * @param StepNode $step
  * @return string
  */
 protected function getFilepath($step)
 {
     return sprintf('%s/%s/%d-%s.png', $this->formatString($this->currentScenario->getFeature()->getTitle()), $this->formatString($this->currentScenario->getTitle()), $this->stepNumber, $this->formatString($step->getText()));
 }