def _should_include_file(self, file_path: str) -> bool:
        """Check if a file should be included based on configured extensions.

        Args:
            file_path: Path to the file

        Returns:
            True if file should be included
        """
        if not self.file_extensions:
            # If no extensions specified, include all text files
            return True

        if ".*" in self.file_extensions:
            # Include all files
            return True

        file_ext = Path(file_path).suffix.lower()
        return any(file_ext == ext.lower() for ext in self.file_extensions)
Check if a file should be included based on configured extensions.

        Args:
            file_path: Path to the file

        Returns:
            True if file should be included
        
backend/airweave/platform/sources/bitbucket.py