Replaced assoc check by valid file check to test for multiplicity

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>