Error with MakeP1 script

Hello, I want to use the MakeP1 script, adapted from the web ( https://github.com/gregchung/materials_studio_scripts/blob/master/MakeP1.pl ), for multiple CIF files. Previously it was working fine, however, now I receive an "GetFileAttributes()" error although the path seems correct. The error is given below, I would be glad if you can help with this.


"GetFileAttributes() failed because it was supplied with an invalid path name:
'C:\Users\HP\Documents\MakeP1Renewal\IN2\ADIQEL_stripped.cif ' (function/property "Import") at -e line 15".


The script I use is as in the image.

Thank you.