FileNotFoundException while reading file
<p>While executing the program I am getting FileNotFoundException</p>

<pre><code>java.io.FileNotFoundException: Shyam\src\sam\examles\TextFile.txt (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.&lt;init&gt;(Unknown Source)
    at java.io.FileInputStream.&lt;init&gt;(Unknown Source)
    at sam.examples.ReadingFile.main(ReadingFile.java:9)
</code></pre>

<p>below is my java program ReadingFile.java</p>

<pre><code>package sam.examples;

import java.io.*;

public class ReadingFile {
    public static void main(String[] args) {

        try {
            FileInputStream fstream = new FileInputStream("C:\\Documents and Settings\flower\workspace\Shyam\src\sam\examples\TextFile.txt");
            DataInputStream dis = new DataInputStream(fstream);
            BufferedReader br = new BufferedReader(new InputStreamReader(dis));

            String str;

            while ((str = br.readLine()) != null) {
                System.err.println(str);
            }

        } catch (FileNotFoundException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }

}
</code></pre>

<p>The file is in the same path where my java program is there as below </p>

<pre><code>Shyam
  |- src
       |-sam.examples
           |-ReadingFile.java
           |-TextFile.txt
</code></pre>

<p>Could you please help us in resolving this</p>
