code: public static String readFile(String fileName) throws IOException {
          logger.entering(fileName);
          Preconditions.checkArgument(StringUtils.isNotBlank(fileName), "File name cannot be null (or) empty.");
          StringBuilder output = new StringBuilder();
          try (BufferedReader buffreader = new BufferedReader(new InputStreamReader(loadFile(fileName),
                  Charset.forName("UTF-8")))) {
              String line = null;
              while ((line = buffreader.readLine()) != null) {
                  output.append(line);
              }
          }
          logger.exiting(output);
          return output.toString();
      }
docs: Read a file resource via the {@link ClassLoader}. Return it as a {@link String}.
  
  @param fileName
  The file name can either be an absolute path or a relative path from the project's base directory.
  @return content of the file
  @throws IOException