Add gate files