Be sure to close this file at the end of the generator.