def METHOD_NAME(wav, portion=0.1):
    with open(wav, "r") as f:
        lines = [line.rstrip() for line in f]
        lines = sample(lines, int(portion * len(lines)))
        def iterate():
            for line in lines:
                utt_id, path = line.split(" ")
                yield utt_id, f"{path}"
        return iterate, len(lines)