Looks like you're using an old version of dolfin. If you update to the latest version you shouldn't see this error. Or you can provide an MPI communicator.
In past versions, XDMFFile
required an MPI communicator as an argument, as well as the file URL.