Importing TXT files alongside CSV and XLSX in Frappe Framework

Hello Frappe Framework community,

I am currently working on a project that requires the ability to import data from text files (TXT) in addition to CSV and XLSX formats. I have tried to implement this feature in the Frappe code, but I am facing some challenges.

Has anyone else tried to implement TXT file importing in Frappe Framework?