delete old files, change header of new file