read a whole gds file as list of rectangles (erlang records)