Logger: add function that generates index files
As it is hard to anticipate the number of index files generated by the logger. It would be really nice to regenerate them once the simulation is done in order to increase / decrease the index resolution.