Can not remove file using rm command

see?

Just before "remove", id is set to "" (empty).

Thank you :slight_smile: It was a combination of the id variable not be carried through all the functions properly and then being emptied as shown by the set -x . It is working now, now to fix perl . Thank you all.