Created a database file is none exists
Replaced file exist checker