There are quite a few very similar blocks of code in
Liquid for generating the names of the output files,
particularly the output images (main, additional
displays, shadow maps, etc). They all follow the same
kind of format (i.e. directory + base + something +
padded_frame + ext).
These could all be wrapped up into a nice name
generating function.