Ensures the filename exists to avoid RCE
Ensures the filename exists to avoid RCE

Would also shell escape filename and destination in all the gsub to be on the safe side just in case
eljuanchosf/dearchiver