fix file writing bug

do not start loading data until you hit "start data collection"