Fixed Null Pointer Exception (NPE) when Container's File did not exist.

Closing the Container that was created with a File that did not exist
caused a NPE because of a bad assumption.