Fail on startup if database file does not exist

Check on startup if the database file exists. If not, quit with an error. The current behaviour tries to create the database file if it does not exist - this does not make sense.