implement ompReadLines