Hey there!
First important thing is to enable file parsing on the file Input element.
Once file is added you can reference the values using JavaScript. I've provided an example of how you would extract comma separated values for the header.
Let me know if this helps!