async def METHOD_NAME(self):
    if not os.path.exists(self.config.filename) or os.path.isdir(
        self.config.filename
    ):
        if self.config.allowempty:
            self.logger.debug(
                ("%r is not a file, " % (self.config.filename,))
                + "initializing memory to empty dict"
            )
            self.mem = await self._empty_file_init()
            return
        else:
            raise FileNotFoundError(
                errno.ENOENT,
                os.strerror(errno.ENOENT),
                self.config.filename,
            )
    if self.config.filename.suffix == ".gz":
        opener = gzip.open(self.config.filename, self.READMODE_COMPRESSED)
    elif self.config.filename.suffix == ".bz2":
        opener = bz2.open(self.config.filename, self.READMODE_COMPRESSED)
    elif (
        self.config.filename.suffix == ".xz"
        or self.config.filename.suffix == ".lzma"
    ):
        opener = lzma.open(self.config.filename, self.READMODE_COMPRESSED)
    elif self.config.filename.suffix == ".zip":
        opener = self.zip_opener_helper()
    else:
        opener = open(self.config.filename, self.READMODE)
    with opener as fd:
        await self.load_fd(fd)