open (RECORD_NUMBER, "counter_data.dat") or die;