I'm a newbie in SuiteScript and I came across this article regarding generating a CSV file out of a saved search in a more efficient way than than usual approach. But it seems
that it will make use of the same file ID over and over again, so data will be replaced and no new file will be generated every scheduled deployment. I'm wondering if it's possible to generate new files every time the scheduled script is run (which is our case) using the same approach?
https://ceanatech.com/2019/02/27/suitescript-2-0-why-you-should-check-out-n-task-searchtask/