You want to pull a list of all files in a directory.
$files = File::files();
This method always returns an array.
The array only contains files, no directories.
If no files are found in the directory, or the directory doesn't exist, an empty array is returned.