We will probably need to have a helper to do this for most cgroup files. For another PR.