fixed streamlistener to properly handle file switching
twitter client now loops through all files available in the directory