Fixes but in bind-value and adds support for file inputs