Generate File that matches database parms