How to convert .xfm file to regular .tfm file to import in Slicer

Operating system: Windows 10
Slicer version: 4.10.1
Expected behavior:
Actual behavior:

Hello, I have download the data and the transformation file is .xfm. Is there a good way in python or 3D slicer that I could directly read the transformation and convert my MRI data to the standard coordinate system? Thanks.

MNI Transform File

What is an xfm file? Can you save the transform as a standard ITK transform file instead? Slicer can already read those, either text or binary, even if they are composite transforms.

The example MNI transform file did not come through. If you want to share a file, the best way is typically to upload it to a cloud storage service (onedrive, gdrive, dropbox, etc) and post the link here.

If ITK library already supports reading of these transform files then we should be make it available in Slicer.

Thanks. The file is shown in this link:

This file is downloaded from open source dataset: