Fixing the issues in the PV file upload of CSD