Sorting the good guys from bad: on the optimal audit structure with ex-ante information acquisition