Read UnityPackage content with an editor script

Is there any way to read a UnityPackage’s content using an editor script?

I need to find out what files are added to a project before importing a new package.

I have find out how to do it.

I must unzip the unitypackage, and read every pathName file (is a text file that has the path of the current file).

To unzip it I can use System.IO.Comprenssion.GZipStreamer.