In which case you can use something like this to create the filenames
char fileName[] = {"IMAGE0 "};
void setup()
{
Serial.begin(115200);
for (byte fileNumber = 0; fileNumber < 10; fileNumber++)
{
fileName[6] = (char)fileNumber + 48;
Serial.println(fileName);
}
}
void loop()
{
}
Instead of printing the filename you would, of course, pass it to your function that loads the file from the SD card.
NOTE - this will only work for filenames from 00 to 09