title: Laravel - Using allfiles gives back empty array
body: <p>I've been using laravel for nearly all my projects and I've came across a problem when trying to list all files in a directory. </p>
  
  <p>Here is my code below: </p>
  
  <pre><code>            $directory = ("upload/"."$username-&gt;username");
  
          $scanned_directory = storage::allfiles($directory);
  </code></pre>
  
  <p>So as you can see First line is the directory which is in Upload followed by the username of the account.</p>
  
  <p>The second line is meant to scan this directory and list only files. Sadly it always gives me back an empty array. Using Scandir() here works... But it gives me folders which I'm not wanting.</p>
  
  <p>So... Any tips? I checked the API and I really can't see what is wrong here :(</p>