change temp file starting increment from 0 to 1