s/backend/database/ where it is needed, because a working example
is a happy example
Use the 3-argument open() call to open a file only for reading