Valid Statistical Inference on Automatically Matched Files