Reading a CSV / txt file

You could have the sketch look for a specifically named csv file on your SD card and, if it finds it, get your firing commands by reading the file. If the file is missing, have it read from the serial port instead.

Alternatively (and perhaps a little safer) add a switch that you use to tell the arduino which option to use.