How to Import Attachments While Migrating from Zoho to ERPNext

I’m migrating data from Zoho to ERPNext and I need to import not just the records (like customers or invoices) but also the attachments associated with them (like PDFs, documents, etc.).
Is there a recommended way to do this using the Data Import Tool, or do I need a custom script or API call for attaching files to documents?