[BackEnd][ScriptUploader] File handling changes

- Removed null initialisation of scannedPDF variable
- This creates an unwanted PDF file on disk