#11212 [HttpFoundation] Added a switch to delete file after the response is send

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | #11212
| Applies to    | master
| Fixed tickets | N/A