Generate rel file