Update XDMFFile to accept multiple functions in one file