Fixing the isues in the CSD pv file upload