Just copying the actual file path (even it is in the project directory already) worked for me. Idk why VS code is like this. Other IDEs like netBeans just allow for the file to be in the project and you can access it