Scan a directory for files.
Usage
scan(path)
path: str
Directory path to scan.
list
List of file paths.