making individual files per numeric rather than overwrite the file each time