copy correct file