Conditional statement based on uploaded file

Conditional statement based on uploaded file

I would like to make an IF-ELSE conditional statement based on if a user of my form has used the UPLOAD FILE field. If they have I want my email confirmation to include the link to the upload. If not, then I do not want the link. How can I do this?