Meshvaluecollection.py

Hello everybody,
I’m having problems with the meshvaluecollection function, I didn’t understand what parameters I have to pass it and what kind of object it generates.
I am using a script that uses that function, in particular:

mesh = Mesh("brain.xml")
mvc_Dxx = MeshValueCollection ("double", mesh, "meshDxx.xml")

but I get such error message:

Traceback (most recent call last):
  File "/Users/lorenzomarta/Desktop/Paziente1/Pre-simulazione/defDT.py", line 9, in <module>
    mvc_Dxx = MeshValueCollection("double", mesh, "meshDxx.xml")
  File "/Applications/anaconda3/envs/fenicsproject/lib/python3.10/site-packages/dolfin/mesh/meshvaluecollection.py", line 16, in __new__
    return mvc(mesh, dim)
RuntimeError: 

*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
***     fenics-support@googlegroups.com
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------------------------------------------------------------------------
*** Error:   Unable to read DOLFIN XML data.
*** Reason:  Unable to find tag <mesh_value_collection>.
*** Where:   This error was encountered inside xmlutils.cpp.
*** Process: 0
*** 
*** DOLFIN version: 2019.1.0
*** Git changeset:  
*** -------------------------------------------------------------------------

Please do not make duplicate posts