title: How does one access an apache_beam.io.fileio.ReadableFile() object?
body: <p>I am trying to use the <code>apache_beam.io.fileio</code> module in order to read from a file <code>lines.txt</code> and incorporate it into my pipeline.</p>
  <p><code>lines.txt</code> has the following contents:</p>
  <pre><code>line1
  line2
  line3
  </code></pre>
  <p>When I run the following pipeline code:</p>
  <pre><code>with beam.Pipeline(options=pipeline_options) as p:
  
       lines = (
           p
           | beam.io.fileio.MatchFiles(file_pattern=&quot;lines.txt&quot;)
           | beam.io.fileio.ReadMatches()
       )
       # print file contents to screen
       lines | 'print to screen' &gt;&gt; beam.Map(print)
  </code></pre>
  <p>I get the following output:</p>
  <pre><code>&lt;apache_beam.io.fileio.ReadableFile object at 0x000001A8C6C55F08&gt;
  </code></pre>
  <p>I expected</p>
  <pre><code>line1
  line2
  line3
  </code></pre>
  <p>How can I yield my expected result?</p>