Single document, multiple filetypes for download: how to manage?
node-[type].tpl.php

$fields = array('field_reports', 'field_agreements'); // you should to create 2 fields for different filenames
$items = array();
foreach($fields AS $field){
  $exts = array();
  foreach($node-&gt;{$field} AS $file){
    // delete real extension from file name
    $filename = explode('.', $file['filename']);
    $ext = array_pop($filename);
    $exts[$ext] = l($ext, $file['filepath']);
    $filename = implode('.', $filename);
  }
  ksort($exts);
  $items[] = t('!filename - download as: !links', array('!filename' =&gt; $filename, '!links' =&gt; implode(', ', $exts)));
}
print theme_item_list($items);


Hovewer, this code must be in template.php in phptemplate_preprocess_node function.