Parse various mesh file formats into a halfedge data structure