Divide Mustache template output into columns

I am generating table of files in directory. The files are in msg.files array like:

and I am using this template to generate a table:

<table>
    {{#files}}
    <tr>
        <td> {{.}} </td>
        <td> <a href="/files/{{{.}}}"> Download</a><td>
    </tr>
    {{/files}}
</table>

The question is - If I want to divide the output into more columns, how to achieve it?

Thanks.

You would have to format the files array to an array of arrays, then loop the td section to. Or you could not use a table and use css to position span or div elements

So split the one array into two separate arrays... I will try it...