Generate grants files