To find out which value to pass I recommend to use the text box right next to it to output the selection value as a flow variable (in my example “xx”).
This way you can see what the value is for the setting you have chosen:
Here is the example for when File is selected:
For good measure here is the value for “all files in folder” mode: