Framework: How to buffer consecutive data

Yes. I would like to keep trace of the ‘5 latest dataset values’ at a given date. Why not ?
It is very confusing that framework renames files in a random way : file.XXXX.txt

I would be very glad to have a clear explanation about what happens to file names after/during deploy.

Mootari, many thanks for your patience.