title: How to read a File using FileInputStream compatible in all OS
body: <p>I am having a file and i need to read it using FileInputStream in java.
  I need to give the path which should be readable in all OS.
  Now i have given</p>
  
  <pre><code>(new FileInputStream("..\\config.properties"));
  </code></pre>
  
  <p>which is a windows readable format
  But this is a non readable in Unix.</p>
  
  <p>Is there any way common for all OS.</p>