add util to get information about file from an XML document + add some stuff