The tools.files vocabulary implements directory files and file-systems listing in a cross-platform way.

Listing a directory:
directory. ( path -- )