Split files.html into different templates