Replaced openDeep with a recursive open