Hello I have this in my code

```
File file = new File("words.txt");
    Scanner scanFile = new Scanner(new FileReader(file));
    ArrayList<String> words = new ArrayList<String>();

    String theWord;    
    while (scanFile.hasNext()){
        theWord = scanFile.next();
        words.add(theWord);
    }

```

But for some reason I am getting a

> 
> java.io.FileNotFoundException
> 
> 
> 

I have the words.txt file in the same folder as all of my .java files

What am I doing wrong? Thanks!