Added support for files. Next is to create a zip with .xml and all files