__FILE__ can be used in templates

Fixes #5