upload the correct file