i have it so that the file path is printed out before i go into the file opening, and the file path turns out to be perfectfly fine. everything looks like it works out.

what else could it be??