public static String readFileContentToString ( String filePath ) throws IOException { String content = "" ; content = Files . toString ( new File ( filePath ) , Charsets . UTF_8 ) ; return content ; }
Read file content to string .