created a skeleton for writing sql statements to file