public FileSecretHelper(String secretFile) throws IOException {
  properties=new Properties();
  try (FileInputStream fileInputStream=new FileInputStream(secretFile)){
    properties.load(fileInputStream);
  }
 }

public FileSecretHelper ( String secretFile ) throws IOException { properties = new Properties ( ) ; try ( FileInputStream fileInputStream = new FileInputStream ( secretFile ) ) { properties . load ( fileInputStream ) ; } }
reads secret property from the secret file .
