Adding allowance for db file not existing.