Added more security checks on name and structure of zipped file with tests