create sql file