export async function precondition({read, assert}) {
    const found = await find([needle], [filename], {read, method: find.exact});
    assert(found);
}