protected function getInputFileWithoutExt() { $info = pathinfo($this->getView()->getInputFile()); return $info['dirname'] . DIRECTORY_SEPARATOR . ($info['filename'] ?: $info['basename']); // allow dot files }