Logging txns to file and making them recoverable.