For the root directory, let's set path to an empty string. This saves a few checks.
Attach a file by drag & drop or click to upload