Get all files from a directory and all its sub-directories.
Directory path (relative or absolute).
Filetype that should be considered.
Whether to get files from sub-directories.
Array of paths of the found '.' files (sorted).
Get all files from a directory and all its sub-directories.