title: How to provide path in flutter - path combine
body: <p>I am creating a quiz app in the Flutter for which I have collected some questions in CSV file. I want to store the CSV file in firebase and display questions into the app by reading from the CSV file. But just to check if the reading file is as simple as it should be, I tried to read a dummy file in this way:</p>
  
  <pre><code>new File('file.txt').readAsString().then((String contents) {
    print(contents);
  });
  </code></pre>
  
  <p>from main.dart before returning the Widget. 
  But i get this error:</p>
  
  <pre><code>`FileSystemException: Cannot open file, path = 'file.txt' (OS Error: No such file or directory, errno = 2)`
  </code></pre>
  
  <p>even though I have made a dummy 'file.txt' file in the same directory as 'main.dart'.</p>
  
  <p>I tried doing './file.txt' and even the absolute path from windows explorer but none seem to work.</p>
  
  <p>How to fix this?</p>