fclose after creation