Use the button to choose a folder with showDirectoryPicker(), or drag and drop files/folders here. This page records each file's name and relative path using the File System Access API.
showDirectoryPicker()