public static String readStringFromFile(String path) throws IOException {
    return new String(Files.readAllBytes(Paths.get(path)));
  }
Reads entire contents of specified file as a string.

@param path file path to read
@return string read from specified file
@throws IOException
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java