title: read local file content in bazel build system
body: <p>Hi I would like to read a content of local file in .bzl file.</p>
  
  <pre><code>    print(onefile.basename)
      #content = ctx.read
      #content=ctx.file.onefile
      #print(onefile.content)
  </code></pre>