The "#!/usr/bin/env python3" only works for Unix/Linux OS; for Windows, please add C:\path\to\python3 before the mfile.py script.
To figure out the python path, PowerShell please type "Get-Command python", normally it should be something like following (replace the username with your actual name).
C:\Users\username\AppData\Local\Programs\Python\Python312\python.exe mfile.py
By the way, there is official message on the issue at https://github.com/intelxed/xed/blob/main/examples/README.txt.