added read functionality for cwl files