changed ensure -> file to osiam::ensure