parse .sql file