Save the time in a file
When we read the index file, we start first by building the array of time step. It can be long in larger simulation, therefore we should avoid doing it every time.
In this merge request, I am writing this array into a file and restore from it if possible.