def METHOD_NAME(from_path: str, to_path: Optional[str] = None, compression: Optional[str] = None) -> None:
    """Extract zip format file."""
    compression_mode = zipfile.ZIP_BZIP2 if compression else zipfile.ZIP_STORED
    with zipfile.ZipFile(from_path, "r", compression=compression_mode) as zip_file:
        zip_file.extractall(to_path)