docs: def remove(self, uid, filename=None):
          """Remove the Remind command with the uid from the file"""
          if not filename:
              filename = self._filename
          elif filename not in self._reminders:
              return
  
          uid = uid.split('@')[0]
  
          with self._lock:
              rem = open(filename).readlines()
              for (index, line) in enumerate(rem):
                  if uid == md5(line[:-1].encode('utf-8')).hexdigest():
                      del rem[index]
                      open(filename, 'w').writelines(rem)
                      break