title: define file path in .yml Symfony2
body: <p>I am needing define a path of file in yml file (I don't if in services.yml or config.yml) </p>
  
  <p>I have a entity who find a table (in csv format). But this same file will be used in other class. So I need to specify him in a global file (yml file).</p>
  
  <p>Something like that:</p>
  
  <pre><code>//Myproject/Entity/Myclass
  
  class Myclass{
  
    public function foo{
       ...
       $file = "D:\workspace\Myproject\Symfony2\src\Myproject\MyBundle\Table\AMB.csv";
       $handle = fopen($file , "r");
       ...
    }
  }
  </code></pre>
  
  <p>I wanna this '$file' be defined in yml file.</p>
  
  <p>Thx!</p>