Fix data collection formatting issue
Code updates

flowdata.txt is temp file for data storage (organizing data in Google
Drive)