add file with template