Extending template to all files