public function build(string $token = '', bool $deDuped = true) : array
    {
        $rawExcludePathsByFileByToken = [];

        if ($token !== '') {
            $rawExcludePathsByFileByToken = $this->findTokenDirectories($token);
        }
        $rawExcludePathsByFileByGit = $this->findGitDirectories();
        $rawExcludePathsByBlacklist = $this->findDirectoriesFromEnvironment($this->environment);

        $rawExcludePaths = array_merge(
            $rawExcludePathsByBlacklist,
            $rawExcludePathsByFileByToken,
            $rawExcludePathsByFileByGit
        );

        $filteredArray = $deDuped === true ? $this->deDupePaths($rawExcludePaths) : $rawExcludePaths;

        return $filteredArray;
    }