Also, move some functions from stream to filesystem where they belong.
Attach a file by drag & drop or click to upload