code: private InputStream propertiesInputStream() throws IOException {
          String propertiesFilePath = System.getProperty(PROPERTIES_FILE_PATH);
          URL propertiesFileUrl = null;
          if (propertiesFilePath != null) {
              try {
                  propertiesFileUrl = new URL(propertiesFilePath);
              } catch (MalformedURLException ignore) {
                  propertiesFileUrl = ClassLoaderUtils.getResource(propertiesFilePath);
                  if (propertiesFileUrl == null) {
                      File f = new File(propertiesFilePath);
                      if (f.exists() && f.isFile()) {
                          try {
                              propertiesFileUrl = f.toURI().toURL();
                          } catch (MalformedURLException e) {
                              LOGGER.error("The property " + propertiesFilePath + " can't be resolved to either a URL/a Classpath resource or a File");
                          }
                      }
                  }
              }
              if (propertiesFileUrl != null) {
                  return propertiesFileUrl.openStream();
              }
          }
          return ClassLoaderUtils.getResourceAsStream(PROPERTIES_FILE_NAME);
      }
docs: Get {@link Properties} file {@link InputStream}
  
  @return {@link Properties} file {@link InputStream}
  @throws IOException the file couldn't be loaded properly