Nextion 7 inch DIsplay - file gets to large

Hey Perry. I hope u dont mind if i can ask you a short questionn about a Serialcommand.

/Serial2.print("ErrorMsg_1.txt=\"");
      Serial2.print(variable);
      Serial2.write('"');
      Serial2.write(0xFF);
      Serial2.write(0xFF);
      Serial2.write(0xFF);

is it possible to make the 1 of ErrorMsg_1 a vriable?

for example

int z =1

/Serial2.print("ErrorMsg_z.txt=\"");
      Serial2.print(variable);
      Serial2.write('"');
      Serial2.write(0xFF);
      Serial2.write(0xFF);
      Serial2.write(0xFF);

something like that. I am kinda confused about the "

Thank you