Program create a sql file to populate database