How to upload pdf/docx in lead section

Hello Guys,

Can anyone tell me how can we upload pdf/docx format file in leads section as currently it give option to upload only image file

Best to upload a document in the documents or activity subpanel which will be related to that record