cleanup and read session secret from file