Hi
The file upload functionality in default contact form is not available.
You can use Contact Form 7 WordPress plugin to create form with file upload option
https://wordpress.org/plugins/contact-form-7/
https://contactform7.com/file-uploading-and-attachment/
Regards
Grace Themes