Parse VMFs to trees