I'm trying to make a java program that accept the input from the file provided by the user. 
The scanner will then scan the java code file and identifies all
 the tokens and list them as the output for user. 
In case of an invalid token, Scanner should mention that a given token is invalid...
Here is my code ,I m working in netbeans.

```
    package javaapplication3;
    import java.io.*;
    import java.util.Scanner;
    import java.util.StringTokenizer;
     /**
    *
    * @author Hameed
     */
 public class JavaApplication3 {

/**
 * @param args the command line arguments
 */
public static void main(String[] args) throws FileNotFoundException,       IOException {
  FileReader fin = new FileReader("myfile.java");
   Open(fin);
   BufferedReader br= new BufferedReader(fin);
    String s;
    s=br.readLine();
    StringTokenizer st = new StringTokenizer(s, "[ =+';().*{}[],!@#$%^&/]", true);
    while(st.hasMoreTokens()){
        System.out.println(st.nextToken());
}

```

but when i run the error occur,here is image <http://s17.postimg.org/jlj18yefj/Untitled.jpg>
implement code in scanner,and myfile.java is in JavaApplication3 folder,is it right if not then kindly guide me where is store this file?