utility to match src and dst files