Move file contents into templates to prevent unwanted string interpolation