Open sql file