rough map file parse