def __init__(self, filename, asarfile, files, baseoffset):
self.filename = filename<EOL>self.asarfile = asarfile<EOL>self.files = files<EOL>self.baseoffset = baseoffset<EOL>
Initializes a new instance of the :see AsarArchive class.

        Args:
            filename (str):
                The path to the *.asar file to read/write from/to.

            asarfile (File):
                A open *.asar file object.

            files (dict):
                Dictionary of files contained in the archive.
                (The header that was read from the file).

            baseoffset (int):
                Base offset, indicates where in the file the header ends.