surface, map file parsing