code: public static Map<String, String> loadPropertiesFrom(String path)
              throws IOException
      {
          Properties properties = new Properties();
          try (InputStream inputStream = new FileInputStream(path)) {
              properties.load(inputStream);
          }
  
          return fromProperties(properties);
      }
docs: Loads properties from the given file
  
  @param path file path
  @return properties
  @throws IOException errors