def METHOD_NAME(self) -> None:
    if not self.path_elements:
        _file_name = "index.html"
    else:
        _file_name = self.path_elements[-1]
    file_path = Path(__file__).parent / _file_name
    print(file_path)
    with open(file_path, "rb") as f:
        file = f.read(-1)
    if ".html" in _file_name:
        c_type = "text/html"
    elif ".js" in _file_name:
        c_type = "text/javascript"
    elif ".png" in _file_name:
        c_type = "image/png"
    else:
        raise ValueError(f'Unexpected file type for file "{_file_name}"')
    self._send_response_bytes(file, content_type=c_type)