def METHOD_NAME(request: ConfigFilesRequest) -> ConfigFiles:
    if request.specified:
        assert path is not None
        snapshot = RuleRunner().make_snapshot_of_empty_files([path])
    else:
        snapshot = EMPTY_SNAPSHOT
    return ConfigFiles(snapshot)