--- pubdlcnt.module	2009-12-30 16:31:36.000000000 -0800
+++ /dm/pubdlcnt/pubdlcnt.module	2010-01-04 20:46:36.000000000 -0800
@@ -938,7 +938,23 @@ function theme_top_download_list($count 
       $name = $rec->name;
       if ($link == 1) {
         $nid = _pubdlcnt_get_translated_node_id($rec->nid);
-        $name = '<a href="' . base_path() . _pubdlcnt_language_prefix() . 'node/' . $nid . '">' . $name . '</a>';
+        //-----------------------------------------------------
+        // original code
+        //-----------------------------------------------------
+        // $name = '<a href="' . base_path() . _pubdlcnt_language_prefix() . 'node/' . $nid . '">' . $name . '</a>';
+        //-----------------------------------------------------
+        // revision - show node title instead of file name
+        //            use path alias instead of node/X path
+        //-----------------------------------------------------
+        $node = node_load($nid);
+        $name = $node->title;
+        if($node->path) { // if path alias exists
+          $path = base_path() . _pubdlcnt_language_prefix() . $node->path;
+        }
+        else { // otherwise
+          $path = base_path() . _pubdlcnt_language_prefix() . 'node/' . $nid;
+        }
+        $name = '<a href="' . $path . '">' . $name . '</a>';
       }
       if (user_access('view total download count in block')) {
         if (user_access('administer public download count')) {
