attach file download link in template