Task/File/Csv/InputCsvReaderTask.php
protected function getOptions(ProcessState $state)
    {
        $options = parent::getOptions($state);
        if (null !== $state->getInput()) {
            $options['file_path'] = $this->getFilePath($options, $state->getInput());
        }

        return $options;
    }
protected function getOptions(ProcessState $state)
    {
        $options = parent::getOptions($state);
        if (null !== $state->getInput()) {
            $options['file_path'] = $this->getFilePath($options, $state->getInput());
        }

        return $options;
    }
@param ProcessState $state

@TODO refactor to get file path outside of options

@throws \Symfony\Component\OptionsResolver\Exception\ExceptionInterface

@return array