code: private static void loadProperty(String filePath)
      {
          try (InputStream propertyStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(
                  filePath);
                  Reader propertyReader = new InputStreamReader(propertyStream, DEFAULT_CHARSET);)
          {
              Properties properties = new Properties();
              properties.load(propertyReader);
              propertiesMap.put(filePath, properties);
          }
          catch (Exception ex)
          {
              String errorPattern = "Property file load failed. Skip load. : PropertyFile={0}";
              logger.warn(MessageFormat.format(errorPattern, filePath), ex);
          }
      }
docs: Load property file.
  
  @param filePath property file path in classpath