SparkContext.
listFiles
Returns a list of file paths that are added to resources.
New in version 3.4.0.
See also
SparkContext.addFile()