Add error handling for the parametes for the new parameters file
Add error handling for the parametes for the new parameters file