WordPress Contact Form 7: Enable file attachments
There may be times you want to allow visitors the opportunity to attach a file to your form prior to sending it. While not applicable in all situations, including files with form data has its place.
For example, user profiles need avatars. And, in that case, you should allow only specific file types for them such as jpg, png, or gif.