(
        self,
        path: PATH_TYPES,
        text: bool = True,
        encoding: str = "utf-8",
        errors: Optional[str] = None,
    )
Yield a file context to iterate over. If text is true, open the file with
        'rb' mode specified.
Yield a file context to iterate over. If text is true, open the file with
        'rb' mode specified.
Yield a file context to iterate over . If text is true open the file with rb mode specified .
def read_file(
        self,
        path: PATH_TYPES,
        text: bool = True,
        encoding: str = "utf-8",
        errors: Optional[str] = None,
    ) -> Union[str, bytes]:
        """Yield a file context to iterate over. If text is true, open the file with
        'rb' mode specified."""
        raise NotImplementedError
def read_file ( self , path : PATH_TYPES , text : bool = True , encoding : str = "utf-8" , errors : Optional [ str ] = None , ) -> Union [ str , bytes ] : raise NotImplementedError