public function findFiles(InputInterface $input, array $exclude = []): array
    {
        $this->exclude = $exclude;

        // Check base path ends with a slash:
        if (substr($this->basePath, -1) != '/') {
            $this->basePath .= '/';
        }

        $fileOption = $input->getOption('file');

        if ($fileOption !== null) {
            $file = $this->basePath . TypeCast::castString($fileOption);
            $files = [new SplFileInfo($file)];
        } else {
            // Get files to check:
            $files = [];
            $this->processDirectory('', $files);
        }

        return $files;
    }