I am getting an array of filenames from a folder like this...
$files = File::allFiles('myfolder/');
But the resulting array contains pathname as well.
Is there a way of just getting an array of filenames? Or do I need to process each array item and extract the filename from it?