title: how to read a file from server in play framework
body: <p>I have the following file</p>
  
  <pre><code>/app/menus/menu1.yml
  </code></pre>
  
  <p>and I'd like to read it's contents</p>
  
  <p>--</p>
  
  <p>short answer:</p>
  
  <pre><code>fileContent = play.vfs.VirtualFile.fromRelativePath("/app/menus/menu1.yml").contentAsString();
  </code></pre>