Fixed so that each new data file export creates new record