Update the file to collect collision and average number data.