Deterministic shocks

Hi everyone,
I wonder is it possible in the shocks block of deterministic model to specify an automatic call of 5000 periods with their respective different values for shocks saved in Excel file. Otherwise, I have to copy/paste each time the periods and values from Excel to mod file. To be specific, I mean the following:
var e;
periods 1 2 3 4 … 5000;
values 0.028177 0.349108 0.238562 0.128543 … 0.038474;
Look forward to a reply.