This replaces the use of thread, signal and callback by a generator.
Attach a file by drag & drop or click to upload