code: public BufferedReader reader() {
          try {
              return (contents == null) 
                  ? new BufferedReader(new FileReader(fileName))
                  : new BufferedReader(new StringReader(contents));
          } catch (IOException ioe) {
              throw new IOError(ioe);
          }
      }
docs: {@inheritDoc}