For me, it was enough to change "subject" in EXTRA_SUBJECT to the actual filename, and it worked, no need for the workaround with multiple.