You can attach files directly to a Deal within our CRM. Learn how to attach Files to a Deal.
It is not possible to directly upload a file into Contact records. However, you can upload files to Dropbox or another document storage platform, then link to those files in a contact custom field or note.