protected function isExcludedFromDb($basename)
    {
        if (in_array(mb_strtolower($basename), $this->excludeFromDb)) {
            return true;
        }

        return Helper::startsWith($basename, '.') || Helper::startsWith($basename, '_');

    }