logs strings 5 at a time into txt file with time stamp, paired with Steven