Extract files with ZipArchive Class and check mime type