reads url, files to give the info of tags in json format