code: public String getString() {
          byte[] rawdata = get();
          String charset = getCharSet();
          if (charset == null) {
              charset = DEFAULT_CHARSET;
          }
          try {
              return new String(rawdata, charset);
          } catch (UnsupportedEncodingException e) {
              return new String(rawdata);
          }
      }
docs: Returns the contents of the file as a String, using the default
  character encoding.  This method uses {@link #get()} to retrieve the
  contents of the file.
  
  @return the contents of the file, as a string