remove files from template