$this->response->withFile() gives wrong path

The response keeps returning me to the src folder but i have my files saved to the webroot folder. I have seen the question Change withFile path. But it doesn’t give a answer,

I have given the complete file path still not working. Keeps adding ‘www/app/src’

it means it cant find file in given path and trying to look in alternatives