Exported database data to txt files