Updated to use new Treema parameterized open() instead of openDeep().