Split out the open() method for regular files from that of directories.
Attach a file by drag & drop or click to upload