It looks like the file io support is a bit weak compared to ExtendScript.
It looks like it’s possible to append file writes, but I don’t see any way to move pointers around in files nor read files line by line.
is this something that’s on the roadmap?