title: Java: print contents of text file to screen
body: <p>I have a text file named <code>foo.txt</code>, and its contents are as below:</p>
  <blockquote>
  <p>this</p>
  <p>is</p>
  <p>text</p>
  </blockquote>
  <p>How would I print this exact file to the screen in Java 7?</p>