parsing proto file