renamed force to ensurePathExists