code: public Boolean loadPropertiesFile(String path) throws IOException
      {
          Properties prop = new Properties();
          InputStream input = null;
  
          try {
  
              input = new FileInputStream(path);
              prop.load(input);
  
              for(String key : prop.stringPropertyNames()) {
                  String value = prop.getProperty(key);
                  configs.put(key, value);
              }
  
              return true;
          } catch (IOException ex) {
              return false;
          }
      }
docs: Load Properties File
  
  @param path relative path to the config file
  @return Boolean whether config file loaded or not
  @throws IOException May throw IOException if it cannot open configs file