fixed txt files for DB

Still issues with images