optimize db creation logic
delete text.txt file