def METHOD_NAME(prefix, **kwargs):
    if os.path.isfile(TAB_COMPLETE_FILE):
        with opener(TAB_COMPLETE_FILE, "r") as f:
            jobs = f.readlines()
        return filter_jobs_actions_runs(prefix=prefix, inputs=[job.strip("\n\r") for job in jobs],)
    else:
        if "client" not in kwargs:
            client = Client(get_default_server())
        else:
            client = kwargs["client"]
        return filter_jobs_actions_runs(prefix=prefix, inputs=[job["name"] for job in client.jobs()],)