title: Illegal characters in path in console application
body: <p>I am going to access a text file from console application and having some data like this-</p>
  
  <pre><code>Auto 2017
  Mech 2056
  CSE 2016
  </code></pre>
  
  <p>Error occurred when read file, please see the attached screen.</p>
  
  <p>Thanks in advance.<a href="https://i.stack.imgur.com/PoRW8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PoRW8.png" alt="enter image description here"></a> </p>