added methods to write a map of the tweets to file, and back