[fix] add error msg if database.txt doesn't exist