I'm not sure if I understand this. Directory ```${WEB_DIR}/${PACKAGE}``` always exists because it's created and ```$file``` is always created/moved.