protected function filterImportFiles(array $imports)
    {
        $config             = $this->config;
        $excludedComponents = $config->getExcludedComponents();
        $includedComponents = $config->getIncludedComponents();

        if (!empty($excludedComponents) && !empty($includedComponents)) {
            throw new Exception\RuntimeException(
                'You may not set both excluded and included components.'
            );
        }

        if (!empty($excludedComponents)) {
            $imports = $this->removeImportFiles($imports, $excludedComponents);
        } elseif (!empty($includedComponents)) {
            $imports = $this->addImportFiles($imports, $includedComponents);
        }

        $imports = $this->setupFontAwesome($imports);

        array_walk($imports, function (&$val) {
            $val = "@import \"$val\";";
        });

        return implode(PHP_EOL, $imports);
    }