saves tweet frequency analysis to files