Save contents of (bf)gen.py