Polygons creation via file parsing