Utility for parsing sql files in php