здрасть, помогите плз.
хочется создать много файлов вот с такими именами. но не могу сохранить файлы с этими именами, как правильно поступить?

Код:
names=["s_27_type_2","s_27_type_3","s_27_type_4","s_27_type_5","s_28_type_1","s_30_type_1","s_30_type_2","s_30_type_3","s_31_type_1","s_31_type_2","s_31_type_3","s_32_type_1","s_32_type_2","s_32_type_3","s_33_type_1","s_33_type_2","s_33_type_3","s_34_type_1","s_34_type_2","s_34_type_3","s_35_type_1","s_35_type_2","s_35_type_3","s_37_type_1","s_37_type_2","s_37_type_3","s_39_type_1","s_39_type_2","s_39_type_3","s_20_type_1","s_20_type_2","s_20_type_3","s_20_type_4","s_21_type_1","s_21_type_2","s_22_type_1","s_22_type_2","s_22_type_3","s_22_type_4","s_23_type_1","s_23_type_2","s_24_type_1","s_25_type_1","s_25_type_2","s_25_type_3","s_25_type_4","s_26_type_1","s_26_type_2","s_26_type_3","s_26_type_4","s_26_type_5","s_27_type_1"]
for(i in names){
var doc = fl.createDocument();
fl.saveDocumentAs(names[i])
}