[API] added simple parsing of sql files