Fixed correct file being downloaded