pull the correct file