change database.db file to txt file