title: Getting only the filename in laravel 5
body: <p>When i have a variable like:</p>
  
  <p><strong>$storagePath = ('/xampp/htdocs/systeembeheer/public/download');</strong></p>
  
  <pre><code>$files = File::allFiles($storagePath);
  
  return View::make('documentatie.overzicht') -&gt;with('files', $files); 
  </code></pre>
  
  <p>In my view, the files displayed as:</p>
  
  <p><code>/xampp/htdocs/systeembeheer/public/download/test.txt</code>, but I want to see only <code>test.txt</code>.</p>