We present a heralded single-photon source with a much lower level of unwanted background photons in the output channel by using the herald photon to control a shutter in the heralded channel. The shutter is implemented using a simple field programable gate array controlled optical switch. (c) 2011 Optical Society of America