I need a function in my module for users to download a file from a private filesystem.

    $file : "private://sample.csv"

Which function should be used, `file_download()`, or  `file_transfer()`?

    function file_download_page() {
      $file = "private://sample.csv";
      //code for downloading $file
    }    

Please provide sample code.