docs: def reload(self, encoding):
          """
          Reload the file with another encoding.
  
          :param encoding: the new encoding to use to reload the file.
          """
          assert os.path.exists(self.path)
          self.open(self.path, encoding=encoding,
                    use_cached_encoding=False)