Added support for xml and json files
Added test for documentation