Some printwriter and bufferedreader manipulation.