Refactored blob processing