Unlimited values field in Drupal 7 - how to show extra field in page.tpl.php I know how can I retrieve the first file name

$fileupload = $node-&gt;field_fileupload[$node-&gt;language][0]['filename'];


but how can I retrieve the other unlimited file names
The best solution would be to run a foreach:

foreach($node-&gt;field_fileupload[$node-&gt;language] as $fileupload) {
  echo $fileupload['filename'];
}