Don't try to find the actual file--just assume it's loaded into the working directory.
[The phrasing of the question is abysmal--don't overcomplicate it]
This one was painful for no good reason--just mention the file is in the working directory and move on...without an actual file to examine, the question makes this more confusing than it needs to be.
I see you check against the test values to see how much of the irrational you could somehow snip while still satisficing. Intentional brevity is quite admirable.