Use the correct index for the sequence number in the file name.