Change pointer variable repeatedly

hey,

I used this function to save data to a SD Cards, which works fine:

void saveAccToSD(float data[], int size, int orient, int sensor)
{
  Serial.println("Saving startet..");
  const char * saveName;

  // open the file. note that only one file can be open at a time,
  // so you have to close this one before opening another.


  if (orient == 1  && sensor == 1)
  {
    saveName = "dataxone.txt";
  }
  else if (orient == 1  && sensor == 2)
  {
    saveName = "dataxtwo.txt";
  }
  else if (orient == 2  && sensor == 1)
  {
    saveName = "datayone.txt";
  }
  else if (orient == 2  && sensor == 2)
  {
    saveName = "dataytwo.txt";
  }

  File dataFile = SD.open(saveName, FILE_WRITE);


  // if the file is available, write to it:
  if (dataFile)
  {
    for (int i = 0; i < size; i++) {
      dataFile.println(data[i]);
    } 
    dataFile.close();
  }


  //if the file isn't open, pop up an error:
  else
  {
    Serial.println("error opening datalog.txt");
  }


  Serial.println("Saving ended");
}

Function call:

const int size=1000;
float axOne[size];

    int orient = 1; 
    int sensor = 1;   
    saveAccToSD(axOne, size, orient, sensor);

Now I want to change the function in order to change the names of the files being stored.
I’m using a variable “int buffBatchCounter”, which counts up.

It should store the files as (with e.g. int buffBatchCounter = 3):

saveName = "dataxtwo3.txt"

Thanks!