Finally got the last seen dictionary to unload to a file periodically.