async def upload_file(self, container_name: str, blob_name: str, data: BinaryIO) -> bool:
        """Save a file to local storage.

        Args:
            container_name: Name of the directory
            blob_name: Name of the file
            data: File data to save

        Returns:
            True if successful
        """
        try:
            container_path = self.base_path / container_name
            container_path.mkdir(parents=True, exist_ok=True)

            # Sanitize blob_name to create valid file path
            safe_blob_name = blob_name.replace(":", "_").replace("/", os.sep)
            file_path = container_path / safe_blob_name

            # Ensure parent directories exist
            file_path.parent.mkdir(parents=True, exist_ok=True)

            with open(file_path, "wb") as f:
                f.write(data.read())

            logger.with_context(
                container=container_name,
                file=blob_name,
                path=str(file_path),
            ).info("Saved file locally")
            return True
        except Exception as e:
            logger.with_context(
                container=container_name,
                file=blob_name,
            ).error(f"Failed to save file locally: {e}")
            raise
Save a file to local storage.

        Args:
            container_name: Name of the directory
            blob_name: Name of the file
            data: File data to save

        Returns:
            True if successful
        
backend/airweave/platform/storage/storage_client.py