We should add a sentence that makes it clear, that the `scanFileAsync` always has precedence over `scanFile` iof both of them would have been provided. I think this is an edge case, but we make it clear right from the beginning.