parse schema file to get all tables struct