1. Files for analytical functions and general commandline interface. 2. Closing logging database after reading simulation data for revival