The query saves each tweet in a file appending new tweets to the file every-time the query occurs. The file is named by date. New contents are appended, new query is based on the next 200 from the last tweet ID retrieved. All of this is saved to file and when a tweet date changes we start a new file based on the date change.

In the future we will extend this so that lists for both people and hastags are also created in the same way.

And we may also want to run these as multiple processes too at some point in the future to cut execution time.