Create xml file for every given file and add tags for that file in tags database