This way, the "static char buf" is defined only once instead of once per file.
Attach a file by drag & drop or click to upload