Added an additional constructor so that the database file can be optionally created instead of forably created