Write tweets to file