Using Custom Filestream Integration Elastic Agent

Hello,

I have a 1 file, sample.txt file. This file gets overwritten every 15 minutes by a script. I been struggling a bit, how can I ingest this file continously every 15 minutes? I tried "resend on touch" due to the file getting modified and therefore updating the modification date but its not working. So far it is ingesting only once, but its not continous.