added an exception raise if db schema file is not accessible.

this check is needed and does also avoid creation of empy db file