Uploading CSV data and reading it in Table Widget using Filepicker

I have a CSV file and using the Filepicker widget, I am able to upload it as a text.
And using javascript I was able to parse the data and convert it into an array of objects for the table to read.

But issue happens when my data values have newline characters or comma in them, which completely breaks the data formatting and introduces incorrect rows/columns.

It would help to have the Filepicker widget itself to upload the file in CSV format, and let the platform take care of the parsing (as per the RFC 4180 standards).

That way there will never be any discrepancy in the formatted data (currently happening with the javascript snippet).