downloading correct file