def METHOD_NAME(self, mode, **kwargs):
    default_root = os.path.join(DATA_HOME, self.__class__.__name__)
    src_filename, tgt_filename, src_data_hash, tgt_data_hash = self.SPLITS[mode]
    src_fullname = os.path.join(default_root, src_filename)
    tgt_fullname = os.path.join(default_root, tgt_filename)
    (bpe_vocab_filename, bpe_vocab_hash), (sub_vocab_filename, sub_vocab_hash) = self.VOCAB_INFO
    bpe_vocab_fullname = os.path.join(default_root, bpe_vocab_filename)
    sub_vocab_fullname = os.path.join(default_root, sub_vocab_filename)
    if (
        (not os.path.exists(src_fullname) or (src_data_hash and not md5file(src_fullname) == src_data_hash))
        or (not os.path.exists(tgt_fullname) or (tgt_data_hash and not md5file(tgt_fullname) == tgt_data_hash))
        or (
            not os.path.exists(bpe_vocab_fullname)
            or (bpe_vocab_hash and not md5file(bpe_vocab_fullname) == bpe_vocab_hash)
        )
        or (
            not os.path.exists(sub_vocab_fullname)
            or (sub_vocab_hash and not md5file(sub_vocab_fullname) == sub_vocab_hash)
        )
    ):
        get_path_from_url(self.URL, default_root, self.MD5)
    return src_fullname, tgt_fullname