fix debug output (opening file)
add util to get information about file from an XML document + add some stuff
add documentation + demo to display picture