Magic number

GROMACS version: 2023
Hello all,
I finished a 1-micro-sec MD simulation, and I have 3 trajectories (because of some reasons the calculation stopped and I had to restart from the last point), now I need to concatenate the three trajectories by this command:
gmx trjcat -f md_0_1.part0001.xtc md_0_1.part0002.xtc md_0_1.part0003.xtc -o total.xtc
but i faced this error:
Fatal error:
Magic Number Error in XTC file (read 0, should be 1995)
Do you know how I can solve it?
Thank you

comments from Erik Lindahl on this error:

Thank you so much for your help.