the File Extension validation takes the Full name as the input, the code you are getting, is because you have selected the File Extension Binding, instead of selecting the file Extension binding, select the Binding for the file Field, it will be the one that does not have a lightning bolt icon next to it, the ones with the lightning bolt icon, are created by Digital File Pro and not needed for file extension validation.