def METHOD_NAME(self, paths, extra_flags):
    with tempfile.TemporaryDirectory() as data_dir:
        [
            write_empty_file(os.path.join(data_dir, f"{p}.bin"))
            for p in paths + ["train"]
        ]
        cfg = make_lm_config(data_dir, extra_flags=extra_flags)
        raise_if_valid_subsets_unintentionally_ignored(cfg)