Updated match_prefiles script.