I'm creating a JAVA program to read a text file, but my function to open the file is not finding the file, this is my open and read file

```
public void openFile() {
    try {
        myReader = new Scanner(new File("C://Users//Desktop//CountInvTest1.txt"));
    }
    catch(Exception e) {
        System.out.println("File not found");
    }
}

public void readFile() {

    while(myReader.hasNextLine()) {

        String data = myReader.nextLine();
        System.out.printf(" ", data);
    }

}

```

I've changed the `myReader = new Scanner(new File("C://Users//Desktop//CountInvTest1.txt"));` to `myReader = new Scanner(new File("CountInvTest1.txt"));` and changed it to the path in the source folder in my project but still getting "File not found" from my try and catch. I've tried the file path with only one / but still the file is not found.
What am I doing wrong?