The existing filter document_internal_filename allows the user to change the name of the file as it is loaded from the MD5 format.
If this is done, the validation process, which checks for file attachments to have MD5-formatted names, will give many false positive errors.
It should be possible to switch off this validation.
A filter document_validate_md5 that returns false can be used to stop these processes.