Extract out parsing proto file logic from ProtobufGen

You can move this method inside check_duplicate_conflicging_protos