The value of the file upload is always an array. If you’re working with multiple files, you’ll want to loop through the array and bind to the file inside the loop as described here but if you’re working with a single file upload, you can bind directly to the file object like I did above.
Does that clarify things a little bit? Don’t hesitate to let me know if not.