Allow to implement custom templates working with files, e.g. providing a thumbnail, link to full file, etc.