This makes xreadlines behave like all other file methods (other than close() which just returns).
Attach a file by drag & drop or click to upload