I suppose the OP would like to find a way for LTSpice to generate smaller files, to avoid having to store, and handle large text files to begin with. The rest, they can probably do it?
LTSpice can export plots to "text" files - those are actually CSV, with the separator being a TAB character.
Unfortunately, I don't think there is any setting for this. Even the format itself (including the separator) is not modifiable.
An alternative would be to read the RAW files directly, instead of exporting plots to text as an intermediate. I believe there are libraries for reading those RAW files.
Take a look at this:
https://www.nunobrum.com/pyspicer.html