code: private final Properties loadPropertiesFile(WsResource res) throws IOException {
  
          Properties props = new Properties();
          InputStream is = res.get();
          try {
              props.load(is);
          } catch (IOException e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                  Tr.event(this, tc, "Error loading properties; " + e);
              }
              throw e;
          } finally {
              if (is != null)
                  try {
                      is.close();
                  } catch (IOException e) {
                  }
          }
          return props;
      }
docs: Load the contents of the properties file.
  
  @param res The WsResource of the key import file.
  
  @return The properties
  @throws TokenException