I wouldn't use the Word "template" as this could be confusing, especially if the file in question is not a template. I'd go with attachment, as this is already used in forum posts and the term applies to any kind of file, whatever its purpose.
Marty