Only open each dataset once per session, and cache it for later use.