Are the filenames of your map data "SC_SP_4_L0"-"SC_SP_4_L3"? If so, replace STR$(1) with STR$(I).