Logging tweets to file