code: public static PasswordManager getInstance(Path masterPwdLoc) {
      State state = new State();
      state.setProp(ConfigurationKeys.ENCRYPT_KEY_LOC, masterPwdLoc.toString());
      state.setProp(ConfigurationKeys.ENCRYPT_KEY_FS_URI, masterPwdLoc.toUri());
      try {
        return CACHED_INSTANCES
            .get(new CachedInstanceKey(state));
      } catch (ExecutionException e) {
        throw new RuntimeException("Unable to get an instance of PasswordManager", e);
      }
    }
docs: Get an instance. The master password file is given by masterPwdLoc.