Put file info in template data