Creation of the SQL file