Adding generic read-write parser