Problem/Motivation
The current file sanitization approach is implemented directly in the event subscriber, which makes it difficult to reuse.
Proposed resolution
I suggest moving the file name sanitization to a separate service, which will make it more usable for other modules.