I tried to run the notebook file but it has __ file __ so I was not able to run it.
To fix this, I used this code to replace code related to __ file __:
import ipynbname
nb_fname = ipynbname.name()
nb_path = ipynbname.path()
print(nb_fname)
The code is from
https://pypi.org/project/ipynbname/