How can I modify the customer registration form to receive a file?

how can i change the customer registration form to send me a file that the customer has selected?

On the registration form, I need the person to select a file on their computer such as an image or a pdf file. how can I?

How do I know if I have attachment ownership?

thank you very much