Expand pipe path in middleware read block