Codice PHP:
foreach ($file as $k => $v) {
  echo 
$k.' '.$v;