changed method for backend import/ delete dir if zip is empty