Add file encode to product widget.