Hi there,
Thank you for the suggestion! We really appreciate your feedback. We’ll review this request and check the feasibility of adding a filter hook to modify the file before wpdm_download_file() is executed or headers are sent. If it’s possible to implement safely and efficiently, we’ll include it in a future update.
Best regards,
Tahasin