def __extract_file(self, path, fileinfo, destination):
if '<STR_LIT>' not in fileinfo:<EOL><INDENT>self.__copy_extracted(path, destination)<EOL>return<EOL><DEDENT>self.asarfile.seek(<EOL>self.__absolute_offset(fileinfo['<STR_LIT>'])<EOL>)<EOL>contents = self.asarfile.read(<EOL>self.__absolute_offset(fileinfo['<STR_LIT:size>'])<EOL>)<EOL>destination_path = os.path.join(destination, path)<EOL>with open(destination_path, '<STR_LIT:wb>') as fp:<EOL><INDENT>fp.write(contents)<EOL><DEDENT>LOGGER.debug('<STR_LIT>', path, destination_path)<EOL>
Extracts the specified file to the specified destination.

        Args:
            path (str):
                Relative (to the root of the archive) path of the
                file to extract.

            fileinfo (dict):
                Dictionary containing the offset and size of the file
                (Extracted from the header).

            destination (str):
                Directory to extract the archive to.