func (imf *File) Open(ctx context.Context) (fs.Reader, error) {
	r, err := imf.source()
	if err != nil {
		return nil, err
	}

	return &fileReader{
		ReaderSeekerCloser: r,
		entry:              imf,
	}, nil
}
// Open opens the file for reading, optionally simulating error.
Open opens the file for reading, optionally simulating error.
// Open opens the file for reading optionally simulating error .
func (imf *File) Open(ctx context.Context) (fs.Reader, error) {
	r, err := imf.source()
	if err != nil {
		return nil, err
	}
	return &fileReader{
		ReaderSeekerCloser: r,
		entry:              imf,
	}, nil
}
func ( imf * File ) Open ( ctx context . Context ) ( fs . Reader , error ) { r , err := imf . source ( ) if err != nil { return nil , err } return & fileReader { ReaderSeekerCloser : r , entry : imf , } , nil }
Open opens the file for reading, optionally simulating error.
Open opens the file for reading optionally simulating error .