code: def _update_meta(self,directory,filename):
          
  
          if not self._connectToFlickr():
              print("%s - Couldn't connect to flickr"%(directory))
              return False
  
          db = self._loadDB(directory)
  
          # Look up photo id for this photo
          pid=db[filename]['photoid']
  
          # =========== LOAD TITLE ========
          fullfile=os.path.join(directory,filename+'.title')
          try:
              logger.debug('trying to open [%s]'%(fullfile))
              _title=(open(fullfile).readline().strip())
              logger.debug("_updatemeta: %s - title is %s",filename,_title)
          except:
              _title=''
  
          # =========== LOAD DESCRIPTION ========
          fullfile=os.path.join(directory,filename+'.description')
          try:
              _description=(open(fullfile).readline().strip())
              logger.debug("_updatemeta: %s - description is %s",filename,_description)
          except:
              _description=''
  
          logger.info('%s - updating metadata (title=%s) (description=%s)'\
                  %(filename,_title,_description))
          resp=self.flickr.photos_setMeta(photo_id=pid,title=_title,\
                  description=_description)
          if resp.attrib['stat']!='ok':
              logger.error("%s - flickr: photos_setTags failed with status: %s",\
                      resp.attrib['stat']);
              return False
          else:
              return True
docs: Opens up filename.title and
          filename.description, updates on flickr