Or you can do it a number of times without a list of lines selected.
Loops:Listomatic generate code or pages based on a list of lines selected in the editor.
To generate page check "Create files for each item" in the bottom of the dialog. Enter path and file name pattern.