It's just a hunch, but perhaps your object of "out" should not refer to the "System".out.println(contents.toString), but rather out.println(contents.toString()); I ran it within the IDE and it seems to work fine. As before I fixed that, I was getting text printed out to my...