ns_rollfile - Roll an arbitrary file
This function rolls the specified file, keeping backup copies.
This function rolls the specified file, keeping a number of backup copies up to maxbackups. When the specified file is rolled, it gets renamed to path.xyz, where 000 <= xyz <= 999. Older files have higher numbers. Since 4 digits are used, the maximum number if back files is 1000.