code: def _update_config_tags(self,directory,files=None):
          
          if not self._connectToFlickr():
              print("%s - Couldn't connect to flickr"%(directory))
              return False
  
          logger.debug("Updating tags in %s"%(directory))
  
          _tags=self._load_tags(directory)
  
          # --- Load DB of photos, and update them all with new tags
          db = self._loadDB(directory)
          for fn in db:
              # --- If file list provided, skip files not in the list
              if files and fn not in files:
                  logger.debug('%s [flickr] Skipping, tag update',fn)
                  continue
  
              logger.info("%s [flickr] Updating tags [%s]" %(fn,_tags))
              pid=db[fn]['photoid']
              resp=self.flickr.photos_setTags(photo_id=pid,tags=_tags)
              if resp.attrib['stat']!='ok':
                  logger.error("%s - flickr: photos_setTags failed with status: %s",\
                          resp.attrib['stat']);
                  return False
              else:
                  return True
          return False
docs: Loads tags information from file and updates on flickr, 
          only reads first line. Format is comma separated eg.
          travel, 2010, South Africa, Pretoria
          If files is None, will update all files in DB, otherwise
          will only update files that are in the flickr DB and files list