You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ota.go
    path of file: ./repos/ipsw/pkg/ota
    
    the code of the file until where you have to start completion: package ota

import (
	"archive/zip"
	"bytes"
	"encoding/binary"
	"encoding/hex"
	"fmt"
	"io"
	"io/fs"
    
func List(otaZIP string) ([]os.FileInfo, error) {
	zr, err := zip.OpenReader(otaZIP)
	if err != nil {
		return nil, errors.Wrap(err, "failed to open ota zip")
	}
	defer zr.Close()
	return parseBOM(&zr.Reader, `post.bom$`)
}