fix template to not use 'filename'