Deluge Converting issue in File Upload of Excel Format to Xlsx in Subfrom

Deluge Converting issue in File Upload of Excel Format to Xlsx in Subfrom

Scenario:

In the Lead module, there is a File Upload field and a Subform. When an Excel file in CSV format is uploaded to the File Upload field, a Deluge script runs to read the document and transfer the data to the Subform using a client script on the edit page. However, when the uploaded file is in XLSX format, the Deluge function does not properly read the file and instead returns an XML output, preventing the data from being transferred to the Subform in the Lead module on the edit page.


As you can see below image there is a subform & File Upload field :