FileNotFoundError: [Errno 2] No such file or directory: restaurants/'

My file is missing from the folder

You might be trying to access the file from the wrong directory. Please use linux commands ‘cd’ and ‘ls’ to check whether you are in the right directory or not.
If you are facing the issue in get_access_token definition then please use as a reference to solve this error. See the answer below as well.

i created a new file with that name

You don’t need to create a new file. Use the existing file only.